Content originally posted in LPCWare by tapgar on Mon Apr 28 08:51:04 MST 2014
I am using Flash Magic to flash LPC1549 over CAN. It looks like everything is working correctly in Flash Magic except for writing to RAM.
In the LPC15XX data sheet it says -
"SDO block transfer mode is not supported."
However under the Write to RAM section it says -
"Set RAM write address by writing to [0x5015, 0]. Then write the binary data to [0x1F50, 1].
Since this is a DOMAIN entry, the data can be continuously written."
Here is the CAN traffic while monitoring a write to RAM in Flash Magic.
067D 8 21 50 1F 01 00 04 00 00
05FD 8 60 50 1F 01 00 00 00 00 - first write message successful
067D 8 00 13 44 58 1A 70 47 00
05FD 8 80 50 1F 01 04 00 00 0F - error message SDOABORT_SRC_ADDR_NOT_MAPPED
Since SDO block transfer is not supported should the second message include the SDO register to write to (0x1F50, 1)?