Re: [Openocd-development] (patch) Change target script for LPC2478

2010-12-04 Thread Petri Pirttinen
On 4.12.2010 13:35, Freddie Chopin wrote: Speaking about this right/wrong policy - it's said that reset_config does not belong to target config files, yet you haven't changed that, but left these "wrong" command there... How come? Funny thing, each time I recall a discussion about LPC2xxx scr

Re: [Openocd-development] new lpc2xxx cfg files layout

2009-09-23 Thread Petri Pirttinen
> If you don't see what's wrong about forcing every > single LPC2xxx chip to use "12 MHz" even if that's > not the *correct* frequency for their board ... I > don't know what more I could try to explain. I may have missed something in here, but why trying to specify a crystal frequency? Can't we

Re: [Openocd-development] new lpc2xxx cfg files layout

2009-09-21 Thread Petri Pirttinen
>>> Why are you doing a soft_reset_halt? >> Why not? >> >> If this command is forbidden / wrong / whatever - remove it. If it's not, >> why do you care if I use it? Without that command it does not work. Or maybe >> I just don't understand the meaning of "reset init"? For me that is "do a >> reset,

Re: [Openocd-development] new lpc2xxx cfg files layout

2009-09-21 Thread Petri Pirttinen
> BTW I have also attached a reset-init script that not only does a > soft_reset_halt and vector table remap, but also disables MAM and PLL > after reset - without that two steps I experienced really crazy > behaviour in a very simple and correct code while debugging. This is a little bit same

Re: [Openocd-development] LPCxxxx soft_reset_halt usage

2009-09-03 Thread Petri Pirttinen
Øyvind Harboe wrote: > Why is soft_reset_halt being used in the LPC init sequences? > > I've tested LPC2478 and the reset init sequence seems flaky Tell me about it. We have been using LPC23xx series for some time by now and it may be just me but I find it a bit tricky to get everything

Re: [Openocd-development] Flash programming confusion with v0.1.0

2009-03-11 Thread Petri Pirttinen
>> Unfortunately OOCD mocks me about 'invalid command name >> "target_script_0"'. I just don't understand why, the same problem occurs >> with e.g. 'flash probe' etc. >> >> I'm probably missing something there but can't figure out what it is. If >> I leave out the target_script 0 and shutdown, I ca

[Openocd-development] Flash programming confusion with v0.1.0

2009-03-10 Thread Petri Pirttinen
Greetings, This is my first post to the list so please bear with me as I couldn't find the guidelines of the list. I have so far used very old version of OOCD and now wanting to upgrade. I compiled the tagged 0.1.0 code in cygwin and have also tried to run the win32 binary of it. However it it