JTAG flashing

Programmable Converter for RS-232 to CAN
Post Reply
Agroplanning
Posts: 3
Joined: Mon 27. Apr 2020, 11:37

JTAG flashing

Post by Agroplanning » Mon 27. Apr 2020, 11:44

Hello,

Can I just solder the JTAG connector and flash the application Hex file using my J-link device?

Would it be any issue with the bootloader or starting address?

Best Regards
Jacob
Last edited by M.Heidemann on Mon 27. Apr 2020, 12:35, edited 1 time in total.
Reason: Removed external link. See Rules-Page for more information.

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: JTAG flashing

Post by M.Heidemann » Mon 27. Apr 2020, 12:34

Hello,

Thank you for request.

You can flash via both serial and CAN as described in the manual, we do actively support both of these methods.

We do not support firmware uploads using JTAG and cannot provide you any infortmation regarding this.

JTAG may be used for debugging purposes as mentioned in the manual:

http://www.peak-system.com/produktcd/Pd ... an_eng.pdf


Note: i removed the external link, please see our forum rules regarding this.

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

Agroplanning
Posts: 3
Joined: Mon 27. Apr 2020, 11:37

Re: JTAG flashing

Post by Agroplanning » Tue 28. Apr 2020, 16:12

Thanks Marvin,

Is there any flashing tool to use via RS232?
I see I have to modify the board but I don´t find the procedure to load the hex or bin file via RS232.

Regards
Jacob

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: JTAG flashing

Post by M.Heidemann » Tue 28. Apr 2020, 16:23

Hello,

To quote the manual for PCAN-Rs232(Page 21):
The actual upload process depends on the upload software used which is supplied by a third party and is not described here.


We do not supply such software.

You may want to take a look the Flashtools by NXP or FlashMagic by our partner-company EmsA:

Flash Magic:
http://www.flashmagictool.com/


Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

Agroplanning
Posts: 3
Joined: Mon 27. Apr 2020, 11:37

Re: JTAG flashing

Post by Agroplanning » Thu 30. Apr 2020, 01:46

Thanks Marvin,

I am using FlashMagic.
Close the JP4 and Power up.
Its performs satisfactory the Erase memory and Write sectors 1 and 16.
I open the JP4 and reboot power.

Program does not start.
It is not necessary to flash sector 0? Should it be a loader there?

Best Regards
Jacob

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: JTAG flashing

Post by PEAK-Support » Thu 30. Apr 2020, 09:22

You need to know how to use the external Tool and which sectors you want to write - see Data Sheet of Controller.
Try if the Serial Bootloader will answer and flash one of our firmware we deliver with the third party flash tool - as we recommend - using a CAN Flash Tool is much easier, saver /and faster.
If it does not work, contact us at support[at]peak-system.com
Attachments
RS232_01.JPG
RS232_01.JPG (129.29 KiB) Viewed 7064 times
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply