Hello,
I am trying to define an automatic flashing procedure with dss. For it I defined a javascript and I run it with "dss.sh javascript.js"
Everything works fine till I need to load in the memory.
After debugSession.target.run(); I do
debugSession_Cortex_M4_IPU1_C0.memory.loadRaw(0,0x8250040c,"/tmp/app", 32, false); debugSession_Cortex_M4_IPU1_C0.memory.loadRaw(0,0x8450040c,"/tmp/sbl", 32, false);
to load my files in the memory but apparently it is not working well.
When I flash manually with CCS, after loading my program I have to write in the scripting console (not in the normal console) the two previous commands (loadraw...) and when I do it, it works fine.
I think, the problem is that when I run my js-script with dss I am not openning the "scripting console" of CSS but the normal "console" and when I do "loadraw()" this will be executed in the normal console instead of the scripting console and no program will be loaded.
I there anyway to write on the scripting console of CSS using a js-script and dss?
Thanks in advance
Javier