| Author | beginning argument ( Replies received: 3 ) |
| tomasz |
Posted 13-03-2005 at 23:00   |

Registered on : 03-13-2005
From Poland
Messages : 2
OFF-Line
|
I'm a student of Technical University of Gdansk and I have a problem with ST52F513K3B6 - I can't program this MCU. I'm working on my diploma "Starter Kit (test board) for ST5" and these information are very important for me. Without it I'm not going to graduate my studies.
I have system WindowsXP and I have installed: Visual FIVE 5.3.0.8 - Buid 140904, Visual FIVE Chip Support for the F510 family devices and ST52F5xx Low Cost Programmer Setup. In BIOS I set the LPT port as a "Normal" (probably it is a "Centronics Standard") like it is written in AN1977 Application Note. I've made "Low Cost programmer" directly like shows on Figure 3 in AN1977 and I've connect it to the LPT of my PC. When I'm trying to programm MCU by Visual FIVE (Visual Five Programmer - ver. 2.8.1.4) a have this answer:
Device: ST52F513K3
Alias: ST52F513x3
File Name: D:\ST5docs\UNTITLED.hex (73 Bytes)
Board: ST5LCF5XX Programmer (STMicroelectronics)
Port: LPT1
Tasks:
Write Code and
Verify
*****************************************
** START THE PROGRAMMING **
*****************************************
Open Session: FAILED - ERROR[3]: MISSING I2C ACK FROM DEVICE
My questions are: What is happening ?? Why this "Low Cost programmer doesn't work with this MCU - ST52F513K3B6 ?? What I should do whis this problem ??
Aditionaly I wanted to programm this MCU by I2C, like it is written in Preliminary Data (pages 34-42 "Memory Programming"). Every procedures writes/reads user program and data into the Flash Memory EEPROM and Option Bytes, are directly the same like it shows in this paragraph. This MCU give me very strange ansvers like 10111000b (0xB8) or 10101000b (0xA8). Ofcourse I couldn't program MCU or read from MCU, even I can't do GlobalErase.
My guestions are: What am I doing wrong ?? Why this answers are so strange ??
Where can I find Simulator of ST5 or "normally" assembler for ST5, not "visual" like Visual FIVE ofcourse free of charge.
Thank for all for answers.
|
|
|
Profile
Email
Quote
|
| Nino |
Posted 14-03-2005 at 16:33   |


Registered on : 10-01-2002
Messages : 33
OFF-Line
|
It could be the voltage supplied from the parallel port is not sufficient. Is the device you want to programm supplied with an external power supply?.
Try in the advanced setting of the Visual five Programmer if the relative signals (Vdd, Vpp, Reset, SCL,...) on the boards follows the levels high/low you select on this window.
For the assembler you can use the one fro Raisonance (www.raisonance.com)
Regards
|
|
|
Profile
Quote
|
| tomasz |
Posted 18-03-2005 at 20:28   |

Registered on : 03-13-2005
From Poland
Messages : 2
OFF-Line
|
Hi,
thank you for answer. My device is supplied with an external power supply. Is that wrong ? Should I supplied it from parallel port.
Did you manage to program ST52F13 family of MCU with "Low Cost Programmer" ? Maybe Visual Free Programmer doesn't support this family ?
I've checked relative signals of Vpp, Reset, SCL, SDA and it is OK.
Can you tell me something about program ST52F13 by I2C protocol ? Why sometimes MCU doesn't ACK transmission ?
Regards.
|
|
|
Profile
Email
Quote
|
| Cortex |
Posted 05-04-2005 at 01:29   |

Registered on : 04-04-2005
From Morocco
Messages : 8
OFF-Line
|
|
Profile
Quote
|