PDA

View Full Version : Segger J-Link EDU & TMS470AVF689



Dunker
25th April, 2011, 09:40 PM
I just got a J-Link and have been experimenting with a Ford 6000 and J-Flash ARM. I can connect to the TMS470 OK but can only read the first 256k of flash. It wont read from 0x40000 to 0x5FFFF. I assume its the init sequence and where the RAM is configured? I'm using the TMS470R1VF689.jflash from the sample projects that come with J-Flash ARM. J-Mem works perfectly. Has anyone got any pointers or init sequence that works. I've been reading the datasheets for the 470 and I am getting to grips with the MFBAH/L register stuff @ 0xFFFF-FExx. Any help greatly appreciated in speeding my learning curve.

Thanks.

branco
26th April, 2011, 06:17 AM
can you upload picture connections?
regards

Dunker
26th April, 2011, 08:55 PM
Here's the connection diagram and the init script I am using (in the rar).

freewillover
26th March, 2013, 04:37 PM
Thanks for the connection. Mr. D

abu deab
5th July, 2014, 02:56 PM
Hello i need industry JTAG

abu deab
6th July, 2014, 10:37 AM
Orange- Programmer tms470??????????

attilaa0
6th July, 2014, 07:30 PM
Hi!Dunker! I tried to readTms 470 689 with no succes ,It is read about 60% and then disconnect.
I tried with TMS470 288 and it read perfectly.

Julesd
14th January, 2015, 10:39 PM
Hi Dunker, Still trying to get this to work for me.

Regards,
Jules.

autocargo
26th April, 2016, 12:10 PM
I'm trying for a few hours now to read one of this car stereo and failing. Also my board is slightly different from what I can see in your picture... Can someone show where is awd pads on my board? I'm getting segger error:
Could not detect CPU clock speed.
Readback of test code downloaded into RAM failed.
Failed to measure CPU clock frequency.
Failed to connect.
Could not read read target memory, not connected.

Stereo is powered on and when segger attempt to connect it switching off/restarting.


I managed now to read this: Is it a valid dump?

Raimax
26th April, 2016, 12:51 PM
Processor Is TMS470R1VF288 ???

autocargo
26th April, 2016, 02:05 PM
Yes it is.

elremont
28th July, 2016, 07:27 PM
389142

Hi frieds,I have problem with read TMS47AVF689,connect with target is ok,but read only up to 64% and get this error,please help me?

Raimax
28th July, 2016, 07:31 PM
Try my Project file

##############

elremont
28th July, 2016, 07:59 PM
Thanks friend it work,maybe you can help me with code from dum?

Raimax
28th July, 2016, 08:01 PM
Also need eeprom dump

elremont
28th July, 2016, 08:28 PM
I read eeprom via points sda scl gnd,but all 00000000000000000000000000000 read ok,verify ok.....

Raimax
28th July, 2016, 08:31 PM
Read as 3,3v
Radio On. Turn down the voltage to 7,5v

elremont
28th July, 2016, 08:39 PM
Thanks friend.

Raimax
28th July, 2016, 08:49 PM
---6003---

elremont
28th July, 2016, 09:03 PM
Thank you,code is good.

ilen
29th July, 2016, 11:36 AM
Hello,

whether we someone can help, I can not read TMS470R1VF288 with J-link ARM...
report this error.....

Could not detect CPU clock speed.
Readback of test code downloaded into RAM failed.
Failed to measure CPU clock frequency....

motherboard like the picture...
389246

Thenxx...

elremont
29th July, 2016, 11:54 AM
389250
You short this points?(black color on your board)?

ilen
29th July, 2016, 12:10 PM
(http://www.digital-kaos.co.uk/forums/showthread.php/203167-Segger-J-Link-EDU-amp-TMS470AVF689/page2)
my friend... this is not TMS470AVF689... her is (http://www.digital-kaos.co.uk/forums/showthread.php/203167-Segger-J-Link-EDU-amp-TMS470AVF689/page2)TMS470R1VF288 , in (http://www.digital-kaos.co.uk/forums/showthread.php/203167-Segger-J-Link-EDU-amp-TMS470AVF689/page2)this motherboard is (http://www.digital-kaos.co.uk/forums/showthread.php/203167-Segger-J-Link-EDU-amp-TMS470AVF689/page2)shorted the two points...( AWD (http://www.digital-kaos.co.uk/forums/showthread.php/203167-Segger-J-Link-EDU-amp-TMS470AVF689/page2)shorted )...
(http://www.digital-kaos.co.uk/forums/showthread.php/203167-Segger-J-Link-EDU-amp-TMS470AVF689/page2)but thank you for the suggestion...Regards

elremont
29th July, 2016, 12:28 PM
+12V connect in radio?connect to cpu is ok?

ilen
29th July, 2016, 12:33 PM
+12V connect in radio?connect to cpu is ok?
yes connect ok...

rogers1976
29th December, 2016, 12:05 AM
Hi what the wrong?

Why not detedting the mcu speed?

Connecting via USB to J-Link device 0
- Target interface speed: 10 kHz (Fixed)
- VTarget = 3.280V
- Initializing CPU core (Init sequence) ...
- Initialized successfully
- Target interface speed: 8000 kHz (Fixed)
- ERROR: Could not detect CPU clock speed. Readback of test code downloaded into RAM failed.
- ERROR: Failed to measure CPU clock frequency
- ERROR: Failed to connect.
Could not determine CPU clock frequency.

Problem resolved :)

lwd11
14th March, 2017, 09:12 PM
where is the problem ?

435599

Where is the problem ?
where is the problem

ilen
14th March, 2017, 11:35 PM
where is the problem ?

435599

Where is the problem ?
where is the problem


................

maybe help you...?

https://www.youtube.com/watch?v=aKO9Z22tp8s

lwd11
14th March, 2017, 11:45 PM
................

maybe help you...?

https://www.youtube.com/watch?v=aKO9Z22tp8s

I watched this video, and I set the clock speed of 12 MHz, ... nothing has changed

ilen
15th March, 2017, 12:37 AM
friend, I'll try tomorrow to help you ...
it's too late, one hour after midnight ... sorry...

Regards



Послато са SM-J500FN уз помоћ Тапатока

lwd11
15th March, 2017, 07:07 AM
Thank you Ilen

ilen
15th March, 2017, 11:58 AM
lwd11 (http://www.digital-kaos.co.uk/forums/member.php/473624-lwd11),
I hope that this will help you......435687

lwd11
15th March, 2017, 12:10 PM
lwd11 (http://www.digital-kaos.co.uk/forums/member.php/473624-lwd11),
I hope that this will help you......435687

IT WORKS !

THANK YOU VERY MUCH :02.47-tranquillity:

ilen
15th March, 2017, 12:16 PM
IT WORKS !

THANK YOU VERY MUCH :02.47-tranquillity:

it's okay ... you owe me one...:beerglass::friendly_wink:

mekaku68
17th April, 2017, 11:04 AM
hi friends,
I can not connect. Where is the error?
thanks
I can not connect. Where is the error

mekaku68
17th April, 2017, 01:12 PM
problem solved...

please locked reset and code..

Thanks

shooting
17th April, 2017, 01:14 PM
problem solved...

please locked reset and code..

Thanks
Need eeprom too

wbr

mekaku68
17th April, 2017, 01:20 PM
Segger j link read eeprom?

shooting
17th April, 2017, 01:24 PM
Segger j link read eeprom?

Any 24c16 programmer will be ok.. eg PonyProg

wbr

mekaku68
17th April, 2017, 01:27 PM
Yes, there is pony. ok

mekaku68
17th April, 2017, 02:51 PM
hi friends,

please locked reset and code..

Thanks

irfa
17th April, 2017, 02:53 PM
hi friends,

please locked reset and code..

Thanks
..............................................4271

and eprom reset

shooting
17th April, 2017, 02:55 PM
hi friends,

please locked reset and code..

Thanks

Code is 4271 and here is reset eeprom

wbr

Decode Ghost
17th April, 2017, 02:55 PM
hi friends,

please locked reset and code..

Thanks

V082632-code 4271 Locked reset

mekaku68
17th April, 2017, 03:05 PM
I did not install EEPROM :(

Code and reset in eeprom?
Then do not need to read tms?

I could not install EEPROM

irfa
17th April, 2017, 03:09 PM
I did not install EEPROM :(

Code and reset in eeprom?
Then do not need to read tms?

I could not install EEPROM
just load the reset eprom and enter code,only eprom not tms

mekaku68
17th April, 2017, 03:23 PM
Pony not loaded

mekaku68
17th April, 2017, 03:28 PM
I did not install EEPROM

shooting
17th April, 2017, 03:34 PM
Pony not loaded

You need TMS & eeprom for code and eeprom for reset

wbr

mekaku68
17th April, 2017, 03:36 PM
I did not understand

shooting
17th April, 2017, 03:44 PM
I did not understand

To get your code we use TMS & eeprom.. but to reset you only need to change the eeprom

wbr

mekaku68
17th April, 2017, 03:57 PM
Do I have to wear a new EEPROM?

shooting
17th April, 2017, 04:05 PM
Do I have to wear a new EEPROM?

Just rewrite your eeprom with the new dump and enter the code.. simple

wbr

mekaku68
17th April, 2017, 04:10 PM
I can not rewrite the EEPROM. This is the problem :(
Reading but not writing

shooting
17th April, 2017, 04:14 PM
I can not rewrite the EEPROM. This is the problem :(
Reading but not writing

Then buy a new eeprom and replace it

wbr

mikemike
17th April, 2017, 04:25 PM
Remove eeprom and try rewrite...

mekaku68
17th April, 2017, 04:31 PM
What do you read with the code tms? code 4271?

mekaku68
17th April, 2017, 04:32 PM
Remove eeprom and try rewrite...

remove? I did not understand

shooting
17th April, 2017, 04:36 PM
remove? I did not understand

Are you reading in-circuit or did you remove the eeprom first?

wbr

mekaku68
17th April, 2017, 04:40 PM
Are you reading in-circuit or did you remove the eeprom first?

wbr
I did not. I read it on circuit.
Obviously, I will have to unzip it

shooting
17th April, 2017, 04:45 PM
I did not. I read it on circuit.
Obviously, I will have to unzip it

Ahh I see... need to remove your eeprom before you can write to it....

wbr

mekaku68
17th April, 2017, 05:03 PM
ok.. I will remove the EEPROM

very thanks

alexandr1966
11th June, 2017, 11:21 AM
Hi! Can you help me with your project file for TMS47AVF689?

alexandr1966
11th June, 2017, 01:12 PM
Hi! I tried to read internal flash of TMS470AVF689 (on 2 different units FORD 6000 cd) with jlink but I have this message: see the picture. What I do wrong?
455967

alexandr1966
11th June, 2017, 06:59 PM
Now I need the code and EEprom reset!

Albert G
11th June, 2017, 07:08 PM
Now I need the code and EEprom reset!

Try code .. 6002

irfa
11th June, 2017, 07:18 PM
Now I need the code and EEprom reset!
V149852........code 6002 eprom is already reset

alexandr1966
11th June, 2017, 09:02 PM
The problem solved!

valdimar
16th April, 2019, 08:44 AM
Hi! Can you help me with your project file for TMS47AVF689?