SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By anandamu16
#194236
hey,

I have recently started working on openocd. I wrote board.cfg, target.cfg and adaptar.cfg files for my board (it was unavailable anywhere). I have also written flashloader.c file and tested... it is working fine. I have tried loading my program into flash many times and erasing it. Everything works fine with openocd flashloader commands.
My problem came, when I started using gdb command to write my program into flash. Whenever I give the command
load D:/project/ledtest/bin/Debug/ledtest.elf

It works fine for the first time and failed next time i.e; This command failed every alternate time.

I didn't know whether its a problem in my openocd or in gdb integration? If anyone faced the issue earlier, kindly help.
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]