Flash Write/Read - Q2686


#1

Hi,
Could any one suggest/guide how to write .hex data into flash, as per ADL user guide we can write string “i tried it is working” Please help me on below.

  1. writing & Reading one byte of hex data/ program status data into flash memory
  2. Wrting / reading array of data into flash program

Regards,


#2

No, you don’t write a string - you just write a specified number of bytes

The ADL User Guide is misleading when it calls the data a “string”: it is not a string in the ‘C’ language sense - it is just a number of raw bytes.

See: https://forum.sierrawireless.com/t/misleading-flash-read-write-functions-not-strings/1581/1