Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | Newbie: Problem programming AT90CAN128 through STK500 board.

There are 7 messages in this thread.

You are currently looking at messages 0 to 7.

Newbie: Problem programming AT90CAN128 through STK500 board. - Rav - 02:26 13-06-07



Hi,

I have a custom made communication gateway PCB with an AT90CAN128
microcontroller. The PCB card has its own 6 PIN ISP interface that i
connect to the 6 PIN ISP of the STK500 board. The STK500 board is
connected to the PC through the standard RS232 programming port. I am
using AVR studio 4 to download the program onto the controller's flash
memory. When i try to access the controller's flash for
programming...it fails. The error says: 'Failed to enter the
programming mode'. I have check the pin configurations and
connections. Those seems to be ok. I wanted to ask whether the
procedure to program the controller in this way is right or
not? ...Plz help.
When I went through the STK500 manual, it says something about using
STK501 top module for the AT90CAN128. Please explain what this STK501
top module is or where can i find the relevent solution for it?

thanx and regards...
Ravi Pathak


Re: Newbie: Problem programming AT90CAN128 through STK500 board. - John B - 07:32 13-06-07

On 13/06/2007 Rav wrote:

> Hi,
> 
> I have a custom made communication gateway PCB with an AT90CAN128
> microcontroller. The PCB card has its own 6 PIN ISP interface that i
> connect to the 6 PIN ISP of the STK500 board. The STK500 board is
> connected to the PC through the standard RS232 programming port. I am
> using AVR studio 4 to download the program onto the controller's flash
> memory. When i try to access the controller's flash for
> programming...it fails. The error says: 'Failed to enter the
> programming mode'. I have check the pin configurations and
> connections. Those seems to be ok. I wanted to ask whether the
> procedure to program the controller in this way is right or
> not? ...Plz help.
> When I went through the STK500 manual, it says something about using
> STK501 top module for the AT90CAN128. Please explain what this STK501
> top module is or where can i find the relevent solution for it?
> 
> thanx and regards...
> Ravi Pathak

The STK501 has a clamshell socket to hold a 64-pin chip. You don't need
it to use the STK500 on-board ISP.

Firstly, check which pins of the 128 you have connected to the ISP
connector and make sure it is PDI & PDO not MOSI & MISO.

Is there another device also connected to the PDI (PE0) pin? If so you
will need to isolate it from the ISP connector with a resistor. Usually
4k7 is fine. The ISP pin must be connected directly to the PDI pin on
the CAN128.


-- 
John B

Re: Newbie: Problem programming AT90CAN128 through STK500 board. - Rav - 02:07 14-06-07

On Jun 13, 4:32 pm, "John B" <spamj_baraclo...@blockerzetnet.co.uk>
wrote:
> On 13/06/2007 Rav wrote:
> > Hi,
>
> > I have a custom made communication gateway PCB with an AT90CAN128
> > microcontroller. The PCB card has its own 6 PIN ISP interface that i
> > connect to the 6 PIN ISP of the STK500 board. The STK500 board is
> > connected to the PC through the standard RS232 programming port. I am
> > using AVR studio 4 to download the program onto the controller's flash
> > memory. When i try to access the controller's flash for
> > programming...it fails. The error says: 'Failed to enter the
> > programming mode'. I have check the pin configurations and
> > connections. Those seems to be ok. I wanted to ask whether the
> > procedure to program the controller in this way is right or
> > not? ...Plz help.
> > When I went through the STK500 manual, it says something about using
> > STK501 top module for the AT90CAN128. Please explain what this STK501
> > top module is or where can i find the relevent solution for it?
>
> > thanx and regards...
> > Ravi Pathak
>
> The STK501 has a clamshell socket to hold a 64-pin chip. You don't need
> it to use the STK500 on-board ISP.
>
> Firstly, check which pins of the 128 you have connected to the ISP
> connector and make sure it is PDI & PDO not MOSI & MISO.

U r saying that the AT90CAN128 uses PDI/PDO for programming rather
than
MOSI/MISO..???


Re: Newbie: Problem programming AT90CAN128 through STK500 board. - Rav - 02:07 14-06-07

On Jun 13, 4:32 pm, "John B" <spamj_baraclo...@blockerzetnet.co.uk>
wrote:
> On 13/06/2007 Rav wrote:
> > Hi,
>
> > I have a custom made communication gateway PCB with an AT90CAN128
> > microcontroller. The PCB card has its own 6 PIN ISP interface that i
> > connect to the 6 PIN ISP of the STK500 board. The STK500 board is
> > connected to the PC through the standard RS232 programming port. I am
> > using AVR studio 4 to download the program onto the controller's flash
> > memory. When i try to access the controller's flash for
> > programming...it fails. The error says: 'Failed to enter the
> > programming mode'. I have check the pin configurations and
> > connections. Those seems to be ok. I wanted to ask whether the
> > procedure to program the controller in this way is right or
> > not? ...Plz help.
> > When I went through the STK500 manual, it says something about using
> > STK501 top module for the AT90CAN128. Please explain what this STK501
> > top module is or where can i find the relevent solution for it?
>
> > thanx and regards...
> > Ravi Pathak
>
> The STK501 has a clamshell socket to hold a 64-pin chip. You don't need
> it to use the STK500 on-board ISP.
>
> Firstly, check which pins of the 128 you have connected to the ISP
> connector and make sure it is PDI & PDO not MOSI & MISO.

U r saying that the AT90CAN128 uses PDI/PDO for programming rather
than
MOSI/MISO..???


Re: Newbie: Problem programming AT90CAN128 through STK500 board. - CBFalconer - 10:06 14-06-07

Rav wrote:
> "John B" <spamj_baraclo...@blockerzetnet.co.uk> wrote:
>
... snip ...
>
>> Firstly, check which pins of the 128 you have connected to the ISP
>> connector and make sure it is PDI & PDO not MOSI & MISO.
> 
> U r saying that the AT90CAN128 uses PDI/PDO for programming rather
> than MOSI/MISO..???

U doesn't post here anymore, nor does U r.  I.e. geekspeek is not
appropriate behaviour for Usenet.  

-- 
 <http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>;
 <http://www.securityfocus.com/columnists/423>;
 <http://www.aaxnet.com/editor/edit043.html>;
 <http://kadaitcha.cx/vista/dogsbreakfast/index.html>;
                        cbfalconer at maineline dot net



-- 
Posted via a free Usenet account from http://www.teranews.com


Re: Newbie: Problem programming AT90CAN128 through STK500 board. - John B - 12:20 14-06-07

On 14/06/2007 Rav wrote:

> On Jun 13, 4:32 pm, "John B" <spamj_baraclo...@blockerzetnet.co.uk>
> wrote:
> > On 13/06/2007 Rav wrote:
> > > Hi,
> > 
> > > I have a custom made communication gateway PCB with an AT90CAN128
> > > microcontroller. The PCB card has its own 6 PIN ISP interface
> > > that i connect to the 6 PIN ISP of the STK500 board. The STK500
> > > board is connected to the PC through the standard RS232
> > > programming port. I am using AVR studio 4 to download the program
> > > onto the controller's flash memory. When i try to access the
> > > controller's flash for programming...it fails. The error says:
> > > 'Failed to enter the programming mode'. I have check the pin
> > > configurations and connections. Those seems to be ok. I wanted to
> > > ask whether the procedure to program the controller in this way
> > > is right or not? ...Plz help.
> > > When I went through the STK500 manual, it says something about
> > > using STK501 top module for the AT90CAN128. Please explain what
> > > this STK501 top module is or where can i find the relevent
> > > solution for it?
> > 
> > > thanx and regards...
> > > Ravi Pathak
> > 
> > The STK501 has a clamshell socket to hold a 64-pin chip. You don't
> > need it to use the STK500 on-board ISP.
> > 
> > Firstly, check which pins of the 128 you have connected to the ISP
> > connector and make sure it is PDI & PDO not MOSI & MISO.
> 
> U r saying that the AT90CAN128 uses PDI/PDO for programming rather
> than
> MOSI/MISO..???

RTFM, that's what data sheets are for.

From the way you write, I guess reading may be a problem.

-- 
John B

Re: Newbie: Problem programming AT90CAN128 through STK500 board. - Rav - 05:38 17-06-07

On Jun 14, 9:20 pm, "John B" <spamj_baraclo...@blockerzetnet.co.uk>
wrote:
> On 14/06/2007 Rav wrote:
> > On Jun 13, 4:32 pm, "John B" <spamj_baraclo...@blockerzetnet.co.uk>
> > wrote:
> > > On 13/06/2007 Rav wrote:
> > > > Hi,
>
> > > > I have a custom made communication gateway PCB with an AT90CAN128
> > > > microcontroller. The PCB card has its own 6 PIN ISP interface
> > > > that i connect to the 6 PIN ISP of the STK500 board. The STK500
> > > > board is connected to the PC through the standard RS232
> > > > programming port. I am using AVR studio 4 to download the program
> > > > onto the controller's flash memory. When i try to access the
> > > > controller's flash for programming...it fails. The error says:
> > > > 'Failed to enter the programming mode'. I have check the pin
> > > > configurations and connections. Those seems to be ok. I wanted to
> > > > ask whether the procedure to program the controller in this way
> > > > is right or not? ...Plz help.
> > > > When I went through the STK500 manual, it says something about
> > > > using STK501 top module for the AT90CAN128. Please explain what
> > > > this STK501 top module is or where can i find the relevent
> > > > solution for it?
>
> > > > thanx and regards...
> > > > Ravi Pathak
>
> > > The STK501 has a clamshell socket to hold a 64-pin chip. You don't
> > > need it to use the STK500 on-board ISP.
>
> > > Firstly, check which pins of the 128 you have connected to the ISP
> > > connector and make sure it is PDI & PDO not MOSI & MISO.
>
> > U r saying that the AT90CAN128 uses PDI/PDO for programming rather
> > than
> > MOSI/MISO..???
>
> RTFM, that's what data sheets are for.
>
> From the way you write, I guess reading may be a problem.
>
> --
> John B- Hide quoted text -
>
> - Show quoted text -

My apologies for the way i presented my query. I didn't intend to ask
that way. I am very sorry about all the mess and assure it won't
happen in he future.

thanks