NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
thinkfat has joined #openocd
thinkfat_ has quit [Ping timeout: 248 seconds]
tsal has quit [Ping timeout: 276 seconds]
tsal has joined #openocd
Bertl is now known as Bertl_zZ
Hawk777 has quit [Quit: Leaving.]
Hawk777 has joined #openocd
m has joined #openocd
m has quit [Remote host closed the connection]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Hawk777 has quit [Quit: Leaving.]
<antto> since yesterday morning, my chip seems to be stuck with the same firmware, i thought i'm changing stuff but i'm not
<antto> "Built: May 13 2022 08:53:04" ... that's yesterday morning.. __DATE__ __TIME__
<antto> i see "file bin/Debug/same54_audio.elf" being executed as usual, the debug symbols also reflect the new things i added, but it made no sense
<antto> the only weird thing i did yesterday morning was.. i flashed an old firmware, not via the IDE but via direct openocd commands
nerozero has joined #openocd
<antto> something like: openocd -f interface/cmsis-dap.cfg -f target/atsame5x.cfg -c "program somethingsomething/older.elf verify reset exit"
<antto> could this have caused it?
<antto> or have i weared-out the flash memory already
<Xogium> antto: not an expert here but, what if you try and flash with the IDE now ? Not working either ?
<Xogium> how many times did you flash ?
<antto> i normally flash thru the IDE when i press "Debug/Continue" .. the IDE makes sure the project is built first and then runs the gdb/openocd stuff
<Xogium> righto
<antto> but i had some weird problems and i wanted to check an older version of the firmware.elf where i knew things definately worked, so i flashed that via openocd directly (outside the IDE)
<Xogium> so you flashed, what.. 3 or 4 times ?
<antto> okay, i tried to flash the current firmware via openocd directly
<antto> "Warn : no flash bank found for address 0x20000000" "Error: checksum mismatch - attempting binary compare" "** Verify Failed **"
<Xogium> sounds like you either got the wrong address, or that openocd doesn't detect the flash ?
<antto> oh, i think i know what might be going on
<antto> let me see
<antto> okay, figured it.. i also had tried the "sram.ld" linker script and i thought it works but didn't seem any faster
<antto> now i changed it back to the "flash.ld"
<antto> so anything i thought i tried regarding executing from SRAM had been a lie, it has been failing to program it.. silently
HelloShitty has quit [Read error: Connection reset by peer]
HelloShitty has joined #openocd
HelloShitty has quit [Read error: Connection reset by peer]
kraiskil has joined #openocd
HelloShitty has joined #openocd
HelloShitty has quit [Read error: Connection reset by peer]
kraiskil has quit [Ping timeout: 260 seconds]
HelloShitty has joined #openocd
<antto> so i basically have no verification when i flash via the IDE
HelloShitty has quit [Read error: Connection reset by peer]
HelloShitty has joined #openocd
HelloShitty has quit [Read error: Connection reset by peer]
HelloShitty has joined #openocd
HelloShitty has quit [Read error: Connection reset by peer]
HelloShitty has joined #openocd
HelloShitty has quit [Read error: Connection reset by peer]
rue_mohr has left #openocd [Leaving]
HelloShitty has joined #openocd
HelloShitty has quit [Read error: Connection reset by peer]
HelloShitty has joined #openocd
HelloShitty has quit [Read error: Connection reset by peer]
HelloShitty has joined #openocd
Bertl_zZ is now known as Bertl
rkta has quit [Remote host closed the connection]
rkta_ has joined #openocd
kraiskil has joined #openocd
akaWolf has quit [Ping timeout: 276 seconds]
kraiskil has quit [Ping timeout: 240 seconds]
akaWolf has joined #openocd
emeb has joined #openocd
dreamcat4 has quit [Quit: Connection closed for inactivity]
wingsorc has quit [Quit: Leaving]
<karlp> just stop trying to run from ram like this, there's so many traps.
kraiskil has joined #openocd
nerozero has quit [Ping timeout: 252 seconds]
kraiskil has quit [Ping timeout: 240 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
rkta_ is now known as rkta
dreamcat4 has joined #openocd
dreamcat4 has quit [Quit: Connection closed for inactivity]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
emeb has quit [Quit: Leaving.]
akaWolf has quit [Ping timeout: 240 seconds]
akaWolf has joined #openocd