Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

[SOLVED]AM335x support?

Hi Sir,

I have a EVK board named BeagleBone. The cpu is AM3359. I want to debug it by using my J-Link ultra.
I can't find any JTAG information in the reference manual of AM335x.
Could you confirm whether J-Link ultra supports AM335x?
Thanks a lot.

We are currently working on the AM335x support.
It is a bit tricky since
a) There is an ICEPick device which needs to be initialized before the core is available
b) Some coresight information in the device does not seem to be correct and needs to be setup manually.

I tried to modify the script of AM3517 by myself.
I knew the icepick id of AM3359 is 0x0B94402F and icepick code is 0x1015B3D6. And the arm core is the 12th TAP.
But it looks J-Link can't identify all of the DPs.

For clarification: This is NOT a support forum where you have a claim to get a solution in a specified time.
This is a user forum where the main intention is to get help from other users...
We are still working on AM335x support.

Sorry, but it is really unsatisfying that there's still no support for the am335x devices, and no news since more than a month.
We recently purchased the J-Link Ultra, together with your "J-Link TI-20-CTI Adapter". Since you offer this combination especially for the am335x evaluation board from TI on your web site, it should be ok to claim for support, or at least to ask for workarounds, otherwise other customers could also run into that pitfall.

Is there any trick or workaround we could use to get the J-Link running together with the TI eval board?

We have built a new beta version (V4.47a) which supports the AM335x.
For more information about some special handling required for this device, please refer to UM08001, chapter "device specifics".

Quoted

Sorry, but it is really unsatisfying that there's still no support for the am335x devices, and no news since more than a month.
We recently purchased the J-Link Ultra, together with your "J-Link TI-20-CTI Adapter". Since you offer this combination especially for the am335x evaluation board from TI on your web site, it should be ok to claim for support, or at least to ask for workarounds, otherwise other customers could also run into that pitfall.

We have not announced support for the AM335x series CPUs before V4.47a. We only announced the availability of an adapter for the TI 20-CTI connector.
I agree that the AM335x EVM was not the best example but having this as an example for a board with such a connector on it does not automatically imply having support for it ready yet.

Debugging AM335x with CodeSourcery CodeBench and "native" J-Link support

We are using CodeSourcery CodeBench (20012.03-69), and succeeded to debug our own board (which is very similar to the TI AM335xEVM) with the "native" J-Link support from CodeBench debug sprite.
In order to get this setup to work, we have to use a jlink settings file for the DLL, which we can specify in the debug settings. Within that file, we then force the DLL to use the AM3359 device.
Additionally, we added the board initialization code (clocks, memroy etc.) to the board.xml file from CodeBench.

So far, so good, starting a debug session and downloading code to external RAM works, but unfortunately the download speed is very poor, since the J-LINK DLL (V4.52c) always selects 1000KHz JTAG speed.

1) Is there any way in the DLL settings file to force a faster JTAG speed, or any other options to speed up JTAG?

2) We already tried to use a JLINK sript (specified in the DLL settings file), but that didn't work at all (modifying "InitTarget" and "ResetTarget" seems to destroy the recognition of the AM3359). Is it possible to get a suitable JLinkScript for the AM3359?

3) Is it a good idea to use the board.xml for the board setup, or would it be better to use an equivalent JLinkScript (which we do not have so far, see 2)?

We have built a new beta version (V4.47a) which supports the AM335x.
For more information about some special handling required for this device, please refer to UM08001, chapter "device specifics".

Quoted

Sorry, but it is really unsatisfying that there's still no support for the am335x devices, and no news since more than a month.
We recently purchased the J-Link Ultra, together with your "J-Link TI-20-CTI Adapter". Since you offer this combination especially for the am335x evaluation board from TI on your web site, it should be ok to claim for support, or at least to ask for workarounds, otherwise other customers could also run into that pitfall.

We have not announced support for the AM335x series CPUs before V4.47a. We only announced the availability of an adapter for the TI 20-CTI connector.
I agree that the AM335x EVM was not the best example but having this as an example for a board with such a connector on it does not automatically imply having support for it ready yet.

Best regards
Alex

I don't see this AM335x when I open JFlashARM, and I am using version 4.54a.
When I chose option "Device" in "Project settings" window, I can see for TI processors AM3505 and AM3517, but not AM335x.
So, is it possible (and how) to download firmware using Segget J-Link Pro to AM3352?

Where(!) do you want to download the firmware to?
The AM3352 does not provide internal flash, so do you want to program external CFI NOR flash or NAND flash?
In case of NAND flash: This requires a so-called custom RAMCode since there is no generic way of supporting NAND flash since the user is free to connect it to an available NAND flash controller or to almost any GPIO pins on the device.

Where(!) do you want to download the firmware to?
The AM3352 does not provide internal flash, so do you want to program external CFI NOR flash or NAND flash?
In case of NAND flash: This requires a so-called custom RAMCode since there is no generic way of supporting NAND flash since the user is free to connect it to an available NAND flash controller or to almost any GPIO pins on the device.

Best regards
Alex

Hello,

We have custom RamCode for flashing NAND.
Problem is that I we don't see the Segger project setup for am335x!
How can load RamCode to RAM?!