Sadly, these links to the code are now dead. I'd like to do something with this project - where is the code nowadays?
Did you try USB Stack v4.1.1 NXP® bare metal (no OS) USB Stack (REV 4.1.1) ? You may check as well v5.0, but as I remember it has some protocols removed.
This only works on ARM devices, which require a voltage of 3.3 or less. I selected the processor family I did because it is current, not EOL or nor recommended for new designs, and 5V. It has just exactly the hardware resources I need. I could go a route that requires level translation, but....
I'm working with adding features to vintage hardware from the early through late 80s, and I can re-apply this circuit in a lot of cases - just need to locate the old code!
Not true! S08JM60, JM16, etc are listed in projects and sources. S08 is listed in audio_generator, audio_speaker, CDC, DFU, HID, MSD, etc. Here's a list of S08 boards supported:
HCS08
- TWR-S08MM128 Evaluation Board
- TWR-S08JE128 Evaluation Board
- DEMOJM Evaluation Board with MC9S0851JM16 Flexis daughter card
- DEMOJM Evaluation Board with MC9S0851JS16 Flexis daughter card
- DEMOJM Evaluation Board with MC9S0851JM60 Flexis daughter card
Edit: Unless NXP changed something which I really doubt, above applies to Freescale USB stack v4.1.1.
Hi Krashcraft,
Been following this thread which also interests me. I'm trying to build my own PCB but using the MCF51JM, which also uses the BDM pin for ICP and ICDebugging.
Just wondering if you were successful hooking up those 6 pins out of the DEMOJM to your customized board to debug and program the flash.
Something else: were you interested also in using USB for your application? Did you have any problems with the USB lPCB layout specs?
Regards,
Edgar Charry
My intentions are to program the JM60 using the DemoJM board, then, unplug the daughter board and plug it onto the new eval board and do my testing.
krashcraft wrote:
But isn't more hardware needed for debugging, and doesn't ICP require some dedicated I/O pins?
No, just connect the pins as shown in the DEMOJM schematic. You actually don't need to reset, but if you can spare the pin, hook that up too. (don't know what ICP means - I have not any 908 knowlege)
Can the programming pins be dual purpose, used as an I/O and then used for In-Circuit-programming?
Yes, but if you can leave them (it) dedicated. It is really only one pin. Well worth it.
I'm not sure how the debugger works, I thought all the electronics on the bottom of the DEMOJM board was used for the debugging.
The BDM is on the board, but if you pull the MCU board, it can debug another board. Solder in the 6-pin header and get a 6 pin flat cable. If your board takes less than 500ma, and uses 3.3v you can power it as well.
Educate me please!!!
Keith