Post Reply 
newRPL - build 1255 released! [updated to 1299]
06-08-2019, 07:04 AM
Post: #494
RE: newRPL - build 1255 released! [official and unofficial]
Finally some success!
   

openocd has some support for sst39* flash chips but it either does not work or I just cannot configure it right. High level flash erase, write etc functions did not work.

I had to use low level erase and "word-program" sequences from datasheet (thank you 3298, Claudio for showing the light in darkness )
and generate a script calling my custom function 8192 times... not exactly a pretty solution but hey it worked Smile

Code:

proc write_word {ADDRESS VALUE} {
# word program
echo "writing address: $ADDRESS"
   mwh 0xaaaa 0x00aa
   mwh 0x5554 0x0055
   mwh 0xaaaa 0x00a0
   mwh $ADDRESS $VALUE
   sleep 10
}

Code:

write_word 0x0 0x0006
write_word 0x2 0xea00
write_word 0x4 0x003f
...
write_word 0x3ffa 0xff00
write_word 0x3ffc 0xffff
write_word 0x3ffe 0xffff


I used 50g bootloader, seems to work ok in 39's smaller display.
Happy to see that 39gs bootloader is also now available, thank you!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - build 1001 released! - pier4r - 12-16-2017, 08:03 AM
newRPL - on Hp 39gs - Martin Hepperle - 06-05-2019, 06:51 AM
RE: newRPL - build 1001 released! - pier4r - 12-23-2017, 10:16 AM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 09:42 AM
t - Claudio L. - 01-01-2018, 03:06 PM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 03:41 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 04:54 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 06:58 PM
newRPL - brickviking - 10-05-2018, 06:01 AM
RE: newRPL - build 1255 released! [official and unofficial] - bzoom - 06-08-2019 07:04 AM
How to participate? - erazor - 12-13-2019, 07:12 AM



User(s) browsing this thread: 1 Guest(s)