Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripts to support NXP LPC chips
#8
No, I still think we need to leave that code in. It's a peculiarity with the NXP flash process, rather than how EBlink handles the buffer.

If I have a file to flash that is 1032 bytes long, that will be one full flash sector of 1024 bytes and only the first 8 bytes of the second sector. Flashing the first sector is no issue. Flashing the second sector is a problem. The flash routines on the chip cannot flash only 8 bytes. I'm forced to flash at least 64 bytes at a time. So I have to flash 8 bytes of data and 56 bytes of blank. If I do not include the above code that fills the on chip RAM buffer with those 56 blank bytes, it will program whatever is in the RAM at the time of the call to the flash routine. That is a failure state.
Reply


Messages In This Thread
Scripts to support NXP LPC chips - by jdubois - 12-04-2023, 05:18 PM
RE: Scripts to support NXP LPC chips - by embitz - 12-04-2023, 06:26 PM
RE: Scripts to support NXP LPC chips - by jdubois - 12-04-2023, 06:54 PM
RE: Scripts to support NXP LPC chips - by embitz - 13-04-2023, 09:09 AM
RE: Scripts to support NXP LPC chips - by jdubois - 16-04-2023, 08:28 PM
RE: Scripts to support NXP LPC chips - by embitz - 17-04-2023, 08:17 AM
RE: Scripts to support NXP LPC chips - by embitz - 17-04-2023, 08:23 AM
RE: Scripts to support NXP LPC chips - by jdubois - 17-04-2023, 03:15 PM
RE: Scripts to support NXP LPC chips - by embitz - 17-04-2023, 09:39 PM
RE: Scripts to support NXP LPC chips - by jdubois - 18-04-2023, 12:43 AM
RE: Scripts to support NXP LPC chips - by jdubois - 20-04-2023, 04:20 PM
RE: Scripts to support NXP LPC chips - by embitz - 20-04-2023, 07:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)