EmbDev.net

Forum: ARM programming with GCC/GNU tools Please help with ADUC_7026


Author: Zdenek Krejci (zdenekkrejci)
Posted on:

Rate this post
0 useful
not useful
Hi guys Im new to ARM and have just hopely not big problem but somehow I 
canot findout
1) I did buy a board from OLIMEX
2) Downloaded lpc21isp
3) And finaly downloaded sample HEX from OLIMEX :-)

when Im trying to load the hex into ADUC it just says no answer :-(


the command Im using on my Ubuntu is:

lpc21isp  firmware.hex /dev/ttyUSB0 115200 32.758

Im not sure about the frequency because ,on the crystal it says 32.758
which is I would say 32 MHz and 768kHz or not?? Is it maeby just the 
problem?
As well please if you would help me with buttons bec there on Olimex is 
no doc tu explain how to use the buttons SD,RS,B1,B2 maybe they needs to 
be push during programing??

Thank you guys verry much as I cant wait to get this baby going :-)

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Zdenek Krejci wrote:
> Hi guys Im new to ARM and have just hopely not big problem but somehow I
> canot findout
> 1) I did buy a board from OLIMEX

which one?

> 2) Downloaded lpc21isp
> 3) And finaly downloaded sample HEX from OLIMEX :-)
>
> when Im trying to load the hex into ADUC it just says no answer :-(
>
>
> the command Im using on my Ubuntu is:
>
> lpc21isp  firmware.hex /dev/ttyUSB0 115200 32.758

Parameter -ADARM missing.

Is /dev/ttyUSB0 assigned to the used COM-Port/USB-UART-converter by the 
system?

> Im not sure about the frequency because ,on the crystal it says 32.758
> which is I would say 32 MHz and 768kHz or not?? Is it maeby just the
> problem?

The crystal is 32kHz (k not M), the PLL will generate the core-clock 
(ca. 45MHz IRC). If remembered correctly the frequency is not needed by 
the ADuC702x-bootloader.

Also try with lower "baudrates" during tests (start with 9600). Use 
-debug parameter to get verbose outputs.

> As well please if you would help me with buttons bec there on Olimex is
> no doc tu explain how to use the buttons SD,RS,B1,B2 maybe they needs to
> be push during programing??

From the ADUC7026 manual: "The ADuC702x will enter serial download mode 
after a reset or power cycle if the BM pin is pulled low through an 
external 1kOhm resistor." On Olimex P7026 BM is connected to button SD. 
Just read the schematic and the manual.

If there are still problems try with the download-utility from Analog 
Devices on a MS Windows system to check if hardware and connections are 
o.k.

The lpc21isp yahoo-group might be a better place to ask.

Author: Zdenek Krejci (zdenekkrejci)
Posted on:

Rate this post
0 useful
not useful
Thank you for your time...

1)yes the board is ADuC-P7026

2)Parameters -ADARM was trying but it also doing nothing

3)I dont properly understand
Is /dev/ttyUSB0 assigned to the used COM-Port/USB-UART-converter by the
system?
I you mean if the board should be on ttyUSB0 than yes I typed the
-ls /dev/ttyUSB* and it is showing me USB0.

4)and was as well trying lower baudrate but also no luck

5)And as you said to look into manual this is the problem the olimex 
does not present any manuals to this board only schematics and examples 
but no such a ting like how I should use the buttons and all..


any other idea?  :-) Thank you

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.