Hi PGO,
I am making a USBDM according to your files named USBDM_SWD_SER_JS16CWJ_V3_1. on https://sourceforge.net/projects/usbdm/files/Version%204.12.1/Hardware/
Now , I have a problem , I do not know how to install firware into the new USBDM which use MC9S08JS16CWJ?
Can you help me by telling me how to how to install firware into the new USBDM which use MC9S08JS16CWJ?
Best Regards
Guo
Hi,
As stated on the page originally linked to:
The following projects are Codewarrior Eclipse project and should be imported into Codewarrior 10.6.4.
USBDM_JMxx
This is an entire project including configuration.
The source files in the Sources directory are all required for the project. They implement different features of the software. For example CmdProcessingARM.c contains code related to implementing the features for the ARM targets (Kinetis) while CmdProcessingHCS.c provides code for HCS related devices e.g. HCS08, HCS12 etc. Not all files are used for every BDM interface but the USBDM_SWD_SER_JS16CWJ uses most of them except for Coldfire Vx devices (from memory).
You should not expect a single file. It is usual to divide a project into modules.
bye
I'm really puzzled why you are looking at the binary file in this fashion.
The firmware image was produced from a compiler/linker tool and represents the binary machine code for the target processor. It serves no purpose to look at this file in detail.
It is a Motorola SREC file format as you may already know.
Source code is available at https://github.com/podonoghue/usbdm-firmware
bye
I have a task: making a USBDM & writing an article about USBDM.
Now, I have successfully made a USBDM based on your design of USBDM_SWD_SER_JS16CWJ V3.1.
I am writing the article explaining the theory of the USBDM, explaining the theory of the firmware, explaining how the firmware souce_code works. so , I need the firmware souce_code.
I downloaded all files from https://github.com/podonoghue/usbdm-firmware , but do not know which one is the firmware souce_code for your design of USBDM_SWD_SER_JS16CWJ V3.1.
In this directory: usbdm-firmware-master\USBDM_JMxx_V4_12\Sources, there are 53 C files. Could you tell me which one is the firmware souce_code for your design of USBDM_SWD_SER_JS16CWJ V3.1.
Hi,
Firstly probably better to look at the later hardware designs on:
https://github.com/podonoghue/usbdm-hcs08/tree/master/Hardware
Instructions for programming is available at:
https://usbdm.sourceforge.io/USBDM_V4.12/USBDM_JS16/html/construction_page.html
bye
Thank you for your instructions.
I have successfully made a USBDM.
Now , I am studying the firmware code , can you explain the firmware code's in word?
for example :
Code:S0880000433A5C55736572735C706F646F6E6F676875655C446F63756D656E74735C446576656C6F706D656E745C555342444D5C757362646D2D63772D6669726D776172655C555342444D5F4A4D78785F56345F31325C555342444D5F5357445F5345525F4A53313643574A5C555342444D5F5357445F5345525F4A53313643574A5F56342E70726DF6
Explaination:
C:\Users\podonoghue\Documents\Development\USBDM\usbdm-cw-firmware\USBDM_JMxx_V4_12\USBDM_SWD_SER_JS16CWJ\USBDM_SWD_SER_JS16CWJ_V4.prm
S123C0008B899EFE05F6AF019EFF05888A81A7FCC6C0854C95E701C6C0844CF732C0862030
S123C0201F898BF687E6024C9EE706E603EE018A4C20037FAF014BFB9E6B05F78A88AF047D
S123C0409E6B02DD9E6B01D932C088898BADB1974C9EE703ADAA4C9EE7044A2603510018B2
S123C060AD9E878AAD9A972005AD95F7AF019E6B04F79E6B03F320D5A7068145013E94AD89
S123C0808DCCF79D0004C08AFADB0080004A00D0000A013E00B818600100CA8FCA90CAAA51
S123C0A0CAC80000000000007101000000C4020000012203000001950101010237020201B5