Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Software UART version running on 18F25K22 [solved]
#2
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:Smile
best regards

Peter


Messages In This Thread
RE: Software UART version running but BL protection issue found - by matherp - 2011-06-09, 17:23:32
RE: Software UART version running on 18F25K22 [solved] - by bogdanaioane - 2017-01-29, 02:31:29

Forum Jump:


Users browsing this thread: 1 Guest(s)