Page 1 of 1

TD1205 debugger

Posted: Mon Jul 13, 2015 9:25 am
by mleeters
When I import the launchers there are only debuggers for the TD1204 and TD1208, but what do you have to do to get a debugger for TD1205?
There is also not a lot of information about the TD1205, only a datasheet, but that is than already all.

Re: TD1205 debugger

Posted: Mon Jul 20, 2015 1:48 pm
by lcheminade
Hi,

Please see this topic to compile the SDK for your TD1205.

viewtopic.php?f=10&t=72

Loïc

Re: TD1205 debugger

Posted: Wed Jul 22, 2015 1:13 pm
by mleeters
lcheminade wrote:Hi,

Please see this topic to compile the SDK for your TD1205.

viewtopic.php?f=10&t=72

Loïc


When I follow that topic I get the following error:
Error TD1205.jpg
Error TD1205.jpg (12.98 KiB) Viewed 2880 times


I don't know if I do it correct, I followed the tutorial on the Github twice.
And the part for programming a lot more but I always get that error.

The documentation about the TD1205 is very poor, I can't find anything about it.

Re: TD1205 debugger

Posted: Wed Jul 22, 2015 4:05 pm
by lcheminade
This is an installation/eclipse related problem. From an Eclipse point of view there is no difference between TD1204 and TD1205. The topic just show you how to build a valid TD1205 binary.

Flashing or debugging this binary into a TD1204 or a TD1205 does not make any difference. Are you able to flash/debug a TD1204 (if you have any)? Do you have gdb server in your path? Do you really need debugging rather than just using trace? Debugging via gcc usually require too much code size to be possible...

Loïc

Re: TD1205 debugger

Posted: Thu Jul 23, 2015 6:33 am
by mleeters
I don't have a TD1204, I tried it this morning again and now it says I can flash it (when I choose debugging it still doesn't work).
I flashed accelero_event, because I wanted to try if the UART communication works and the accelerometer.
But when I hook a FTDI on the RX and TX line there is no data, I use Putty as terminal and also a logic analyzer on the RX and TX to see if there is data.

So or it didn't flash or the program doesn't work.

What do you mean by gdb server in my path?
I would really like to use debugging because than I can see were it is going wrong.

I flashed the TD1205 in the following way:
1. build the common libraries with GCC Release (EFM32G210F128)
2. build accelero_event with TD1205 Release (made the Release like in the tutorial, why do I have to do this for all the projects?)
3. Run Flash selected project with 2 Flash selected project
Than the Console shows these messages:
Console messages.jpg
Console messages.jpg (33.93 KiB) Viewed 2870 times


So something goes wrong.