PonyProg :  PonyProg Phorum PonyProg
PonyProg open discussion 
Baud rate
Posted by: dl8vko ()
Date: November 28, 2014 01:47PM

I am using the Atmel Evaluationsboard Ver. 2.01. When I enter Setup/Interface Setup - I/O port setup I can choose the COM port (1 - 4) but nowhere do I see which baud rate, number of data bits, parity etc. are required. My reason for the question is that when I click on Probe I get the message "Test Failed".

Thanks,

larry

Options: ReplyQuote
Re: Baud rate
Posted by: sonix ()
Date: November 28, 2014 06:06PM

Dear larry,

PonyProg2000 uses rs232 port not for standard data transfer, but only for send/receive "signals" to the serial device input/output pins in a time sequence defined according to the device datasheet. See attached picture with an example of "read sequence" of the eeprom 25LC640. If you send logical levels to pins CS, SCK and SI in defined time sequence as shown on the picture you get response from device on the SO pin containing data read from any valid address of the eeprom. It is a special communication protocol. Therefore is no need to set the baudrate, parity and so on.
It is possible to change a bus speed for the supported device bus types in the file PonyProg2000.ini which is located in the PonyProg2000 directory. But in most cases this is not needed and it has nothing to do with testing interface within probe command from the interface setup dialog.

I found some Atmel Evaluationsboard schematic, see link below, and I see that the board has two rs232 connectors, so you should use connector marked rs232-isp. It's wiring is identical to the SI-prog Base board.

http://www.mikrocontroller.net/attachment/126417/Atmel_Evaluations-Board_Version_2.0.1_D810038B.gif

Are you using the recent version of PonyProg2000 2.08c?

PonyProg2000 download page: http://sourceforge.net/projects/ponyprog/

What is the result of the probe test if you set SI prog API instead of SI prog I/O?


Yours sincerely
sonix


dl8vko Wrote:
-------------------------------------------------------
> I am using the Atmel Evaluationsboard Ver. 2.01.
> When I enter Setup/Interface Setup - I/O port
> setup I can choose the COM port (1 - 4) but
> nowhere do I see which baud rate, number of data
> bits, parity etc. are required. My reason for the
> question is that when I click on Probe I get the
> message "Test Failed".
>
> Thanks,
>
> larry

Attachments: Serial_eeprom_25LC640_read_sequence.gif (37.7 KB)  
Options: ReplyQuote
Re: Baud rate
Posted by: dl8vko ()
Date: November 29, 2014 11:25AM

Thanks Sonix,

Your tip that the RS232 connector on the evaluation board was not the correct one to use but instead the ISP connector did the trick. When using the ISP connector the Probe check returns Test OK. It also explains why there was no MAX 232 chip included with the board. Also, I had assumed that the ATmega 16 chip included on the evaluation board had a test program in it. That assumption was wrong! Again, thank you very much!

larry

Options: ReplyQuote
Re: Baud rate
Posted by: sonix ()
Date: November 29, 2014 05:49PM

You're welcome, Larry

Yours sincerely
sonix


dl8vko Wrote:
-------------------------------------------------------
> Thanks Sonix,
>
> Your tip that the RS232 connector on the
> evaluation board was not the correct one to use
> but instead the ISP connector did the trick. When
> using the ISP connector the Probe check returns
> Test OK. It also explains why there was no MAX 232
> chip included with the board. Also, I had assumed
> that the ATmega 16 chip included on the evaluation
> board had a test program in it. That assumption
> was wrong! Again, thank you very much!
>
> larry

Options: ReplyQuote


Return to LancOS.
Powered by Phorum.