I finally got OpenOCD to work with my lpc2148 board from Olimex, or at least I
think i have it working. I am using an ubuntu 10.10 machine to do my programming
with their (packaged) version of openOCD. I had to go get the GNU Arm programs.
http://www.gnuarm.com/bu-2.16.1_gcc-4.0.2-c-c++_nl-1.14.0_gi-6.4_x86-64.tar.bz2
I even got the olimex files for my board:
http://www.olimex.com/dev/soft/arm/LPC/LPC-P2148-BLINK-LED-ECLIPSE.zip I used
openocd to upload the pre-compiled hex file that came with it. flash write_image
erase unlock /home/dmartin/Downloads/lpc2148/main.hex 0 and when I tell it to
run, it just sits there and looks like its having some kind of booting problem.
I wish my new computer had a serial port so I could compare. Anyone have any
Ideas about how I'm being an idiot?
--- In l..., "Delbert M" wrote: > I wish my new computer had a serial port so I could
compare.
I recommend that you get yourself a USB to RS232 convertor cable / adapter.
Chris.
Reply by Delbert M●February 5, 20112011-02-05
right, I'm picking this back up, but I can't even get the processor to
blink with precompiled hex code. I was just wondering if I was doing something
wrong, I really would like to program this via jtag and get everything to just
work. I was also wondering if anyone programs the flash via jtag successfully,
using the mdh command I can tell that its written stuff to the flash.
--- In l..., "cfbsoftware1" wrote: >
> --- In l..., "Delbert M" wrote:
> > I wish my new computer had a serial port so I could compare.
>
> I recommend that you get yourself a USB to RS232 convertor cable / adapter.
>
> Chris.
>
Reply by Delbert M●February 6, 20112011-02-06
Upon picking up a USB->Serial cable and finding a lpc2000 flash utility for
linux, I was able to get working compiled code on to the unit. At least now I
know nothing is broken and my dev env is at least mostly working - programming
via JTAG using openocd.
any tips?
Reply by Leon Heller●February 6, 20112011-02-06
On 06/02/2011 02:14, Delbert M wrote: > right, I'm picking this back up, but I
can't even get the processor to blink with precompiled hex code. I was just
wondering if I was doing something wrong, I really would like to program this
via jtag and get everything to just work. I was also wondering if anyone
programs the flash via jtag successfully, using the mdh command I can tell that
its written stuff to the flash. Try reducing the JTAG clock speed.
Signal Processing Engineer Seeking a DSP Engineer to tackle complex technical challenges. Requires expertise in DSP algorithms, EW, anti-jam, and datalink vulnerability. Qualifications: Bachelor's degree, Secret Clearance, and proficiency in waveform modulation, LPD waveforms, signal detection, MATLAB, algorithm development, RF, data links, and EW systems. The position is on-site in Huntsville, AL and can support candidates at 3+ or 10+ years of experience.