2011-06-09, 17:23:32
I've now done more work and by removing the timeout in the SW receive got the program into 8 pages the same as the hardware version and the BL protection issue has gone away. The loaded program is now identical in memory in both cases. However in the hardware version it starts and runs but in the software version it doesn't which is because it is the timeout that trips the bootloader into the entry to the loaded program.
Next step was to set BLPLP and BLSIZE back to 8 but not define PROT_BL which saves space and eliminates the error. This works and the program now runs
So the issue is that the blprot routine doesn't seem to work when BLSIZE is 9.
I think this is one for Mikael:
best regards
Peter
Next step was to set BLPLP and BLSIZE back to 8 but not define PROT_BL which saves space and eliminates the error. This works and the program now runs
So the issue is that the blprot routine doesn't seem to work when BLSIZE is 9.
I think this is one for Mikael:
best regards
Peter