Forums

how to program a flash with the wiggler? (for free)

Started by Erol September 7, 2004
I bought a wiggler probe for ARM7 and was very disappointed when I
didn't receive a Flash Programmer Utility with it! Apparently they
sell the Flash Programmer SW for 500 extra bucks!

I am not eager to pay any additional dollars to this company,
so I would like to know if the wiggler can be used with any other
Flash Programmer software.

Thanks,

Erol

P.S. I heard that the OCD Commander SW can be used to download
Flash programming SW into target RAM, but I prefer an easier solution
if possible.
"Erol" ...
> I bought a wiggler probe for ARM7 and was very disappointed when I > didn't receive a Flash Programmer Utility with it! Apparently they > sell the Flash Programmer SW for 500 extra bucks! > > I am not eager to pay any additional dollars to this company, > so I would like to know if the wiggler can be used with any other > Flash Programmer software.
Hihi, we also fell for it. The 500$ flash SW is also locked to one PC. And didn't program our NetSilicon chips. Money lost.
> P.S. I heard that the OCD Commander SW can be used to download > Flash programming SW into target RAM, but I prefer an easier solution > if possible.
It's really the best method. Just two pages of C-code did the trick. You need minimum startup code until main, then a flash erase / programming / verify routine that burns a binary image, linked with the flasher code, into the flash chip. Runs in our production now without problems. (We use a Jeeni to upload code to RAM, much faster than Wiggler or Raven or the low cost Chameleon pod, a good Wiggler / Raven / etc. emulator.) Regards, Arie de Muijnck
Erol wrote:

> I bought a wiggler probe for ARM7 and was very disappointed when I > didn't receive a Flash Programmer Utility with it! Apparently they > sell the Flash Programmer SW for 500 extra bucks! > > I am not eager to pay any additional dollars to this company, > so I would like to know if the wiggler can be used with any other > Flash Programmer software. > > Thanks, > > Erol > > P.S. I heard that the OCD Commander SW can be used to download > Flash programming SW into target RAM, but I prefer an easier solution > if possible.
The $500 for a Flash upload SW is cheap enough for the JOB ! Just try to write your own SW to do the same JOB ... You will spend days and money too ! But if you still don't want to buy specific SW, your only solution will be to write C code function doing a RAM to Flash copy. Then put and call your function in your own ARM7 firmware. Then use OCD with a Wiggler/Raven JTAG interface to upload all your code ... Not easy to do the first time, but this step has the big advantage for you to understand many things concerning the ARM7 architecture and concerning your specific and custom ARM7 platfrom too. Note: Chameleon POD is from www.amontec.com Larry
kinda funny how people on usenet are seeking to just try and show their
'brilliance' huh............  they don't really give a damn about your
problem, or your solution, just wanting to show their ass..  and you never
really get an answer to the question posed.

Sorry, i have never done ARMs, or the wiggler.........  i would help you if
i could....


"Erol" <erol.benoz@tnn.net> wrote in message
news:5e4da3b5.0409071025.5b3770c0@posting.google.com...
> I bought a wiggler probe for ARM7 and was very disappointed when I > didn't receive a Flash Programmer Utility with it! Apparently they > sell the Flash Programmer SW for 500 extra bucks! > > I am not eager to pay any additional dollars to this company, > so I would like to know if the wiggler can be used with any other > Flash Programmer software. > > Thanks, > > Erol > > P.S. I heard that the OCD Commander SW can be used to download > Flash programming SW into target RAM, but I prefer an easier solution > if possible.
> P.S. I heard that the OCD Commander SW can be used to download > Flash programming SW into target RAM, but I prefer an easier solution > if possible.
The easier solution is to buy the $500 tool. But the _usual_ way impoverished people like me use the wiggler is to poke a self-flashing bootloader into RAM.
> kinda funny how people on usenet are seeking to just try and show their > 'brilliance' huh............ they don't really give a damn about your
Ah, so you'd rather be generous with stupidity than parsimonious with brilliance? Very humanitarian of you to share your ignorance. Think about the OP's problem for a moment. What is the wiggler? A debug tool. What do you do with a debug tool (mainly)? Load code into RAM. So in order for the wiggler to be ANY use to him, he must already know how to drive it to load code into RAM, and he must already know how to build code for the target platform. If it is not worth $500 to him to write a snippet of code to write his particular flash chip, then he can damn well spend the money. What he is asking for is someone here - whose time is probably worth $150 per hour - to give him free consultation so he doesn't have to pay for a ready-rolled solution.
"George" <clarkgsmith@comcast.net> ...
> kinda funny how people on usenet are seeking to just try and show their > 'brilliance' huh............ they don't really give a damn about your > problem, or your solution, just wanting to show their ass.. and you never > really get an answer to the question posed. > > Sorry, i have never done ARMs, or the wiggler......... i would help you
if
> i could....
I do help - as far as I can without giving away code paid for by my employer. If this advice is not enough for him he should not be designing this part of a project - unless he wants to learn. This is usenet - not a shopping mall. YOU did not provide any help at all. Kinda funny how people on usenet are seeking to just try and show their 'higher standards' huh............ Regards, Arie de Muynck
Lewin A.R.W. Edwards wrote:
>>P.S. I heard that the OCD Commander SW can be used to download >>Flash programming SW into target RAM, but I prefer an easier solution >>if possible. > > > The easier solution is to buy the $500 tool. But the _usual_ way > impoverished people like me use the wiggler is to poke a self-flashing > bootloader into RAM.
What does the $500 tool do? Yes - poke a self-flashing downloader into RAM and run it. Just bite the bullet, write a programmer for your flash, download it together with the target code, and program. An example: I'm using an Atmel AT91R40008 with 256 kbytes of RAM at 0. The programming sequence is: 1. Write proper chip select to CS0, 2. Write remap cancel to EBI, 3. Write address range selection to EBI, 4. Download flash writer at 0x3c000 5. Download target code at 0x2000 6. Patch the target code location and length to writer 7. Start the writer. That's it. Tauno Voipio tauno voipio (at) iki fi
"Lewin A.R.W. Edwards" <larwe@larwe.com> wrote in message news:<Ent%c.10408$Wv5.2965@newsread3.news.atl.earthlink.net>...
> > kinda funny how people on usenet are seeking to just try and show their > > 'brilliance' huh............ they don't really give a damn about your > > Ah, so you'd rather be generous with stupidity than parsimonious with > brilliance? Very humanitarian of you to share your ignorance. > > Think about the OP's problem for a moment. What is the wiggler? A debug > tool. What do you do with a debug tool (mainly)? Load code into RAM. So > in order for the wiggler to be ANY use to him, he must already know how > to drive it to load code into RAM, and he must already know how to build > code for the target platform. > > If it is not worth $500 to him to write a snippet of code to write his > particular flash chip, then he can damn well spend the money. What he is > asking for is someone here - whose time is probably worth $150 per hour > - to give him free consultation so he doesn't have to pay for a > ready-rolled solution.
I just asked if anyone succeeded in using this wiggler with any other Flash Programmer SW, is this too much? Does it require a lot of effort to answer this? You can still call this "consultation" if you want. Of course I can write another 500 lines of code for the flash burner, but why i'm here is because i need it now, time is the problem!
"Arie de Muynck" <Sorry_I_hate_spam@nomail.com> wrote in message news:<413e0ce6$0$21106$e4fe514c@news.xs4all.nl>...
> "Erol" ... > > I bought a wiggler probe for ARM7 and was very disappointed when I > > didn't receive a Flash Programmer Utility with it! Apparently they > > sell the Flash Programmer SW for 500 extra bucks! > > > > I am not eager to pay any additional dollars to this company, > > so I would like to know if the wiggler can be used with any other > > Flash Programmer software. > > Hihi, we also fell for it. The 500$ flash SW is also locked to one PC. And > didn't program our NetSilicon chips. Money lost. > > > P.S. I heard that the OCD Commander SW can be used to download > > Flash programming SW into target RAM, but I prefer an easier solution > > if possible. > > It's really the best method. Just two pages of C-code did the trick. You > need minimum startup code until main, then a flash erase / programming / > verify routine that burns a binary image, linked with the flasher code, into > the flash chip. Runs in our production now without problems. > > (We use a Jeeni to upload code to RAM, much faster than Wiggler or Raven or > the low cost Chameleon pod, a good Wiggler / Raven / etc. emulator.) > > Regards, > Arie de Muijnck
Arie, thank you for the encouragement! Can the flasher code i'm going to write download the Flash image from the JTAG interface? I didnt use this interface from my target SW before. I dont have a working RS232 port on the board yet, do i need RS232 for the flash image download?