Dear Josh12,
The previous explanation needs some qualification!
The node labelled Flash12V spends most of its time at 5V. It's only switched to 12V for the RS08. The explanation applies for this case (Q2 and Q4 are almost symmetrical although Q4 may be on for low VDD_BDM values).
When The Flash12V supply is on, but Vpp_en is inactive, then Q4 would be switched on in any case and Q2 acts as a level translator.
When The Flash12V supply is on and Vpp_en is active, then Q4 would be switched off to isolate the programming voltage.
Q3, Q4 and Q5 are only necessary for RS08 programming. Q2 is the only one required for level translation.
bye
Dear All,
Attached is an updated version of the combined TBDML/OSBDM code. It now includes initial support for Condfire V1 devices.
(Second try - previous one had an error!)
bye
Dear All,
Latest version.
Only significant changes are:
Removing bulk endpoints for Vista Compatibility.
Fixed some bugs with support for Witztronics hardware.
See this post for more information on Vista compatibility:
http://forums.freescale.com/freescale/board/message?board.id=OSBDM08&thread.id=422
bye
Dear All,
I've build the board for OSBDM from USBDM_JMxxCLD version. I'm using JM32 and porting code of JM60 as given in the USBDM folder. When I connect it to PC, it detectes USB. Also it pops up the configuration window when I connect it into Codewarrior for debugging.
But, when I try to connect it to the target, it is giving me the "Fatal Error". I've checked in detail and found that there is no activity on RESET pin of the BDM connector.
The target VCC is also OK. BDM pin is low when trying to connect the target.
Plz guide me to resolve this issue.
Thanks and Regards,
Nandulal K. Gavali
Dear Nandulal,
What target are you debugging? For a HCS08 or CFV1 targets it would be possible for there to be no activity on RESET since its use is optional for these targets. For HCS12 it should definitely be in use.
If you think RESET should be doing something then check the signal path from the JM32 through to the reset pin to find out where the reset is going missing. There are a number of things that could affect this such as the FETs being defective/incorrect or wired incorrectly or shorts on the fine wiring.
The BDM pin should be showing activity - not just staying low.
Is the RESET pin high or low?
What version of the firmware/software are you using?
You can try using the debug version of the DLLs and check the log files (either in C:\ or %APPDATA%\usbdm) for more information about what the BDM thinks is happening.
Bye
P.S. Don't double post - It just annoys people!
ok, Thanks. IT is working now. The issue was with the cable.
Sorry for double update.
-- NKG