Hello,
I using the Bootloader from Josef to update the firmware trough SD card. I can compile it and works fine if i use $include "Config_MMC.bas"
But now i need to use 4 Gb card, so i changed on the bootloader code to $include "Config_MMCSD_HC.bas"
The compiler show the folling error lines:
Error:344 line: 521 Program will overwrite bootloader [36 to long]
Error: 61 Line: 521 Label not found [_RAMPZ4 ]
This is what i have in the code to define
$regfile = "m2560def.dat"
Const Loaderchip = 2560
#if Loaderchip = 2560 ' Mega2560
$baud = 9600
$loader = &H1F000 ' 4096 words
Const Maxwordbit = 7 'Z7 is maximum bit '
Const Loadsize = &H1F000 * 2 ' <=== modified, it is ok.?? highest Number of bytes to load
#endif
$crystal = 8000000
$hwstack = 128
$swstack = 128
$framesize = 128
Joseph can help? or anyone else know what i make wrong?
Thanks in advance
Best regards
toto
↧