cancel
Showing results for 
Search instead for 
Did you mean: 

ST10 Flasher interface & Connection.

gontsov
Associate II
Posted on August 21, 2009 at 15:11

ST10 Flasher interface & Connection.

#st10-dump
12 REPLIES 12
gontsov
Associate II
Posted on January 13, 2009 at 03:08

Hello,

I'm looking for some solition to communicate with the ST10F27-CEA MCU and work with internal memeory (ST10 on the auto ECU).

I'm solder the RS232 interface on the max232 chip using the attached scheme.

I have make some connection on the PCB Looking for the Datasheet of ST10F The points are: +5v, gnd / -5v , TxD, RxD, BSL set to default mode (104 -> gnd, 105 -> +5v via resistors). Also I have test Reset using pin #141 - via resitor to mass.

The answers of software are listed below.

- WITHOUT 5v FEEDING

*LOAD MONITOR-->ERROR

Description: InitMonitor failed.

Monitor: LoadMonitor: Bad aknowledge value 0xE6 instead of 0x5A.

Com: Receive: Timeout or Lost of data

RESET your application and click on the RELOAD button

So seems that some bytes are moving between the PC an MCU.

When I turn ON the 5v feeding the answer like it's totally disconnected from the COM port. Reset pin is has no matter.

*LOAD MONITOR-->ERROR

Description: InitMonitor failed.

Monitor: BSL: No aknowledge Received.

Reset your application and reload the monitor.

Com: Receive: Timeout or Lost of data

RESET your application and click on the RELOAD button

So I'm wrong, but don't know where to check... Any suggestions?

Thanks.

[ This message was edited by: gontsov on 13-01-2009 07:49 ]

________________

Attachments :

RS232.gif : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0MJ&d=%2Fa%2F0X0000000bXz%2FHz_RjcukQd8qd9vOIRXhyGusvmDmz1cDDOkFNwtoCHg&asPdf=false

ST10_connect_BOOT.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzjY&d=%2Fa%2F0X0000000bXu%2F9fij9vgwdKNfoBeOX8vPT.oWYcBynYAh9D6S8g2KzRQ&asPdf=false
a_shemet
Associate II
Posted on January 13, 2009 at 04:56

Hello,

don't you forget to connect GND wire between your device and pin5 in the RS232 connecor?

What does it mean -5V voltage on your schematics? Max232 needs only +5V to pin16 and GND to pin15

gontsov
Associate II
Posted on January 13, 2009 at 07:17

-5v = Ground :)

Yes, gnd -> com5 maybe the way... I'll tell you what happend a bit later.

P.S. Hm.. 5v feedeng making the same response as disconnected COM, reset has no matter.

Without feeding it's working wrong.

*LOAD MONITOR--
gontsov
Associate II
Posted on January 14, 2009 at 15:40

I have changed RxD0 pin78, TxD0 pin 77 to the RxD1 pin15, TxD1 pin16.

*LOAD MONITOR-->ERROR

Description: InitMonitor failed.

Monitor: LoadMonitor: Bad aknowledge value 0x86 instead of 0x5A.

Com: Receive: Timeout or Lost of data

I've just have note that all of the manuals describe work with the St10F168. Can anyone tell me what to to with the ST10F275? Where I'm wrong?..

[ This message was edited by: gontsov on 14-01-2009 20:12 ]

gontsov
Associate II
Posted on January 15, 2009 at 05:21

ST10Utility show all that happend on the com1.

0 0 86 E7 0 2 0 88 0 74 18 A0 32 3E 44 1 39 0 80 3F 82

timing from the manual is 31.25 ns.

*** ST Embedded Algorithm Status ***

ST Embedded Kernel Algorithm V 00.00

Circuit ID number: 0000

Additional ID number: 0000

Undecoded status message from STEAK algorithm: 0x3

ST10Flasher 2.02 gives the same result as 2.4b...

johnlintern9
Associate II
Posted on January 15, 2009 at 13:47

im a bit of an amature at all this

ive had a look but cant really see anything obvious

have you looked at my circuit diagram attached in my post ?

it looks like an automotive ecu in your picture ?

is there a chance this could be protected in some way so that you cant read the code ?

gontsov
Associate II
Posted on January 15, 2009 at 15:40

Yes, it's a car ECU (kia).

Of course I'm looking to your topic and think that you are really adept in this area.

Can you send a foto of connected inteface? Your scheme of ST10 interface seems that use most of the MCU pins... Mine one is the eimpliest level of data transmission (becouse it's my level of development and seems that it's not enough). I'm a new to ST and really don't have any idea what to do next... maybe your experience can give me some advice..

I don't know why, I'm get always 0x86 on the both Tx pins... P04=0V, P05 = 4.36v... - maybe set +5 directly..? Maybe try use another software?.. (FLASHit 9 - no way, some others for c167 / ST10 - too)... Maybe Tx/Rx connection wrong?...

My mail is:

algontsov # gmail.com

Thanks for any help!

[ This message was edited by: gontsov on 15-01-2009 20:41 ]

wyz1056
Associate II
Posted on January 16, 2009 at 05:23

who can help me,

i need full shcma and soft and conect ecu picture

thanks

gontsov
Associate II
Posted on January 17, 2009 at 14:10

Where is the problem, you can see some data to start the research in the 1st post of this topic,

soft and documents here:

http://www.st.com/mcu/modules.php?name=mcu&file=familiesdocs&FAM=17

But in practice there are some problems - to get the correct answer from the MCU :)