Hey Guys,
I was wondering if I could get a little assistance with connecting a JTAG to the Package Tracker ARM7. The device has a 6 pin header and I don’t recognize the labels on the pin-out lines. The labels present are (VCC, GND, RX, TX, RST, BSL). This looks more like a UART comms header than a programmer header.
Could someone shed some light on what programmer was in mind for this connector? Currently I have a Seeger and an Amontec JTAG, but like I said, the line labels are unfamiliar.
Any help would be appreciated.
Thanks,
-Ben
You’re correct, those are the serial lines. The original code is programmed onto the Packague Tracker via the serial bootloader.
What are you looking to do though? Unless you’re trying to debug something, you should just stick to programmnig the Package Tracker using the USB bootloader. It’s much easier and faster!
Well, the existing code stops collecting sensor data when you plug in a USB cord. I wish to modify the code so that data STARTS collecting when I plug in a USB cord. I am putting this into a car so that every time I apply accessory power, i start my logging. When the accessory power goes away, the log file closes and that becomes my logging session.
So when I change the code, I am afraid that I will loose the ability to upload code via the bootloader. Do I have to worry about that?
Well, kind of; but there’s a way around it. In the code, you can remove some lines near the beginning of the main code so that the bootloader doesn’t run when if the device is ON and the USB cable is plugged in. The bootloader does run at power up no matter what though, and the only way around that is to over-write it.
So, if you can live with turning the device on in your car; and then plugging in the cabe, you’d be fine by just removing the call to the bootloader in the code. However if you don’t want to have to do this then you’re right in that you’d have to create and load new code and bypass the USB bootloader.