NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
lh has quit [Write error: Connection reset by peer]
Helmholtz has quit [Write error: Connection reset by peer]
Jybz[m] has quit [Read error: Connection reset by peer]
Ulli[m] has quit [Read error: Connection reset by peer]
Jybz[m] has joined #openocd
lh has joined #openocd
Helmholtz has joined #openocd
Ulli[m] has joined #openocd
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
joconor has quit [Ping timeout: 272 seconds]
joconor has joined #openocd
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
Hawk777 has quit [Ping timeout: 240 seconds]
Hawk777 has joined #openocd
ttmrichter has quit [Quit: Ping timeout (120 seconds)]
ttmrichter has joined #openocd
rkta has quit [*.net *.split]
Getty has quit [*.net *.split]
key2 has quit [*.net *.split]
devanagram has quit [*.net *.split]
key2_ has joined #openocd
Getty has joined #openocd
rkta_ has joined #openocd
rkta_ is now known as rkta
devanagram has joined #openocd
nerozero has joined #openocd
Haohmaru has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
thinkfat has joined #openocd
Haohmaru has quit [Ping timeout: 250 seconds]
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
thinkfat has quit [Ping timeout: 258 seconds]
thinkfat_ has joined #openocd
bohdan-tymkiv has joined #openocd
akaWolf has quit [Ping timeout: 265 seconds]
akaWolf has joined #openocd
_whitelogger has joined #openocd
Haohmaru has quit []
Hawk777 has joined #openocd
Hawk777 has quit [Quit: Leaving.]
tomtastic has quit [Ping timeout: 240 seconds]
tomtastic has joined #openocd
Hawk777 has joined #openocd
nerozero has quit [Ping timeout: 256 seconds]
thinkfat_ has quit [Quit: Konversation terminated!]
bohdan-tymkiv has quit [Remote host closed the connection]
<c4017w__> Is it supported to program a hex file containing RAM addresses? I get an error 'no flash bank found for ...' because obviously it's not in flash
<PaulFertser> c4017w__: load_image
<c4017w__> I'll try that. Any plans to integrate it with 'program' so it falls back to 'load_image' instead of 'flash write_image' if no flash bank found?
<PaulFertser> c4017w__: I do not see why, as program does also "reset init", specifically to make flashing work nicely.
<PaulFertser> c4017w__: when GDB loads an ELF it uses different commands for flash and RAM.
<c4017w__> In my case I want to program flash and ram at the same time, then run from ram. I know it's obscure, but I don't see why it couldn't be done with the single 'program' command
<PaulFertser> But you want to have everything in a single hex file?
<c4017w__> Ok, after I load to ram, is there a standard way to begin execution from a certain address of should I manually set PC, etc.?
<PaulFertser> c4017w__: resume <address>
<c4017w__> Single hex file is preferable, yes
<c4017w__> cool
<PaulFertser> How do you even generate such a hex or elf that has both RAM and ROM sections to load? That sounds really unconventional.
<c4017w__> Ah well it does start out as separate hex files for the flash and ram images, but I have a tool to concatenate them. I already use this tool to combine bootloader and main app hex files into a single file
<c4017w__> I agree it's pretty weird. I'll keep it simple and load the RAM in another step
thinkfat has joined #openocd
thinkfat has quit [Client Quit]
<c4017w__> load_image and resume <address> works a treat, thanks