I've been trying to flash my Dragon 12+ board with the USBDM and have been running into some issues. I am trying to replace the D-Bug12 monitor with the serial monitor but am running into issue. I have followed the instructions from Wytec USBDM OSBDM I have installed everything. One of the things though is that the USBDM shows up as a universal serial bus device instead of Lib-USB-Win32 device which I dont know if this may be causing the issue. After that I run the HCS_FlashProgrammer application, the application shows that it recognizes my BDM(USBDM-JS16-0001). After that I go over to target and hit detect chip and i receive the following error "The device appears to be secured and does not support SYNC. The currently set bus frequency is an approximation and may not be sufficiently accurate for unsecuring the target. Please manually set the bus frequency before programming."
So I manually enter in the chip of the which is DG-MC9512DG256 and I load the hex file sm_and_test_dr12p_rgb_8mhz.s19 which I had downloaded from www.evbplus.com set erase options to erasemass and hit program flash and recieve another error "Programming of the target flash failed! Reason:Failed to read from the target"
To me this is because it is not detecting my Dragon 12+ board but I really dont know. Any help would be great!
I have two boards with the same controller(MC9S12E64CPVE). Using "Flash Programmer" program I am trying to detects chip. For the first board everything is ok and chip detects, but for second board I have the error "failed to probe target; reason: target is secured.". Controller have good 5V power. Maybe is this chip locked? How to unlock it?
It looks like a problem with the programmer or the connection to the target.
Have you used the programmer with any other targets (if you have any)?
Few things to check:
I have check operation with a Wytec BDM and it works fine with a similar chip (I don't have exactly the same device to test with).
Thank you for your fast response, the USBDM is brand new just arrived in the mail yesterday. I did however check teh 6 pin connector for continuity just in case and it was all good. What I did realize is that I was plugging the BDM in the BDM OUT on the Dragon 12 board instead of the BDM IN.
However, I am now receiving a new error "Failed to connect to target. Reason: General Fail(for compatibility)". I am receiving this error whenever I press Detect Chip. The Dragon board is powered on along with the Wytec BDM. I do not have another target to use the programmer on. I have taken a picture of what my setup looks like (if that helps at all)
I'm sorry I don't have much to suggest! It looks like it should work.
A few more things to check:
See the section
Thanks for all of your help, after a day of thinking about it i realised that the problem may of been that I had been using a usb extension cord so I would be able to have the dragon board and BDM on my desk and not on the floor.After removing the usb extension cord the LCD display finally read BDM mode was successfully able to flash my Dragon board. Thank you for your help!!!
I' trying to use a Dragon12-Plus2 board but I'm getting the same issue.
I do not have any usb extension cord, however, I'm using a USBDMLT with 4.12 drivers and 4.10.6 software. I'm using also CodeWarrior 5.1 for HS(X)12 processors and my SO is windows 10.
I you have some ideas it will be much appreciated
Thanks with regards
Please try the following (if not done already):
You really need to describe the actual results you are seeing.
I have the same issue, "Failed to connect to target. Reason: General Fail (for compatibility)".
I updated the firmware to V4.12.1, the same as my software.
I checked that the tool is listed as USBDM BDM Interface under Debugging Interface in device manager, and detected as USBDM-JS-0001 in programmer.
I am using HCS12 standalone programmer and target device is MC9S12D64 which is totally OK when used with P&E multilink.