Main Site Documentation

Help on writing to flash


#1

I am stuck on writing to flash. Below are the steps taken. I appears to be working but when I open the file on the flash drive I only have non-numeric characters and symbols (lines, music notes, etc). I am communicating with SPI but saw the same results with I2C. What am I doing wrong?

I U0:\r
!00lf

O 0W>U0:\Test\Voltage.txt\r
!00lf

W 0>10\r
!00lf

1,2,3,4,5,6,7,8,9,0,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F
$00000010lf
!00lf

C 0\r
!00lf


#2

@ vb74 -

it is saved in binary file, not text file. You can use some applications which can open these files in hex then you will see 1-2-3-4… .
Or you can send ‘1’,‘2’,‘3’,‘4’

But ‘1’ is different 1. Take a look on ASCII table it will tell more.