Post Reply  Post Thread 
JTAGing
Author Message
quinn
Moderator
*****


Posts: 275
Group: Moderators
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #1
JTAGing

We have had a few other questions lately about JTAGing:

Quote:
In a few days I will receive my prototype & will flash it for the first time.
Could you give me some advice about a JTAG device?
I saw information about
- serial boot (is it fast enough in a production environment?)
- rvd
- segger
The host tool should run ideally on both windows & linux platforms in a production environment of ~2000 boards/year in the beginning.
Do you have an idea of the price of these products?

01-31-2009 05:00 AM
Visit this user's website Find all posts by this user Quote this message in a reply
quinn
Moderator
*****


Posts: 275
Group: Moderators
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #2
RE: JTAGing

We have also had some questions about the ATK program specifically.

Quote:
1. I don't know how to change the boot mode of the camera to bootstrap mode.
2. I don't know if any of our ATK versions will support the NAND and NOR memory that ipcamera has natively or if you need to share your changes with us.
3. If possible could you please provide guidance on how to accomplish this task?

01-31-2009 05:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
quinn
Moderator
*****


Posts: 275
Group: Moderators
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #3
RE: JTAGing

Serial boot uses Freescale's Advanced ToolKit (aka 'atk') program to communicate with the embedded logic. As far as I know, it is Windows only.

It is, however free and can be obtained from the ISO or from the Freescale website. The instructions for configuring the jumpers on board and using the tool to flash the board are also included in a README.txt in the ISO, under Tools.

For "Flash model", select 'NOR s71WS256ND0' to program the NOR part.
To program the NAND, the 'NAND K9K2G08R0A' may work because it uses the same parameters as NAND on board, but it has not been tested.

This only works with the serial port, not any USB on the camera.

This post was last modified: 01-31-2009 06:30 AM by quinn.

01-31-2009 05:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
quinn
Moderator
*****


Posts: 275
Group: Moderators
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #4
RE: JTAGing

rvd (aka 'RVDS' or 'RVI') is ARM (the company)'s JTAG and debug tool and does appear to support Windows and Linux. However, I have only tried the Windows version 2.2. It is fairly expensive.

01-31-2009 06:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
quinn
Moderator
*****


Posts: 275
Group: Moderators
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #5
RE: JTAGing

The Segger/IAR J-Link tool has Windows support and supposedly Linux support although I wasn't able to find a download package. I have only used the Windows version and recommend a fairly recent one as there have been improvements (v3.82 from May 2008).

The instructions for this tool as also located on the ISO. It costs a couple hundred dollars.

01-31-2009 06:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
quinn
Moderator
*****


Posts: 275
Group: Moderators
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #6
RE: JTAGing

All of these are about the same time to program the board and are much slower than upgrading through the bootloader.

Recommendations:

  1. Program just the bootloader through these methods as this is the smallest component, but provides all the functionality you need to program the rest.
  2. Pre-program the flash before populating the board. You may still need to do some manual configuration, but overall you will save a lot of time.

01-31-2009 06:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
quinn
Moderator
*****


Posts: 275
Group: Moderators
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #7
RE: JTAGing
01-31-2009 06:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites