Trying to look for how the jumper for Debug mode is connected on G120E but i do not see any reference to JP1 in the schamtice yet the board photo clearly shows it…maybe im blind to this :-[
JP1 on the G120E dev board as far as I can see is CAN termination.
P2.1 is MODE and only seems to go to the header pin 21.
In the manual it says serial debugger selector? See attachment
I never looked at the manual but that is clearly incorrect as the image of the board and the schematic shows this to be the CAN bus termination link.
Thanks Dave
@ anthonys - Dave is correct, the image in the manual should say CAN Termination resistor. The serial debug (MODE) pin is on the 40 pin header.
A wise man (John) told me once to pull-up the MODE pin on 40-pin connector to 3 volt pin on the same connector. This should put you in debug mode.
You are always in debug mode when you connect via USB (unless your software changes the USB). The mode pin is simply used to switch from USB to UART debug.
Thanks Guys…i am getting somewhere…i can use CDC on my G120 Fez Cobra 2 board but having some issues with G120E SOM…looking into it…
Had to use the latest SDK for it to work? Does this mean CDC is a new feature?
no, as (I think) Gus mentioned in your other thread, the CDC driver install will happen automatically in the latest SDK, but otherwise you had to manually install the driver to use it.
Having issue with CDC with G120E SOM, have set MOde pin to HIGH but the com port not appearing, any suggestions?
@ anthonys - Do you mean the COM port for serial debugging?
No, want to put G120E in CDC mode so i can pass through serial data from an attached chip to my computer as a com port.
Hope this makes sense?
@ anthonys - Right. To do so, the G120E must be in serial debug mode by holding MODE high. You must then connect COM1 of the G120E to your computer. How this is done depends on your device. If you are using the G120E Development Board, COM1 is exposed in the upper right corner of the board. Connect a USB cable to that port and your computer. You should see a COM port in the Device Manager once Windows installs the drivers. Do you get that far?
Understood But i just put the Fez Cobra 2 in COM Mode connected to USB and the com port appeared and i could use Real Term?
Is G120E different to Fez Cobra 2?
@ anthonys - There is no USB to serial chip on the FEZ Cobra II that allows it to work in serial mode out of the box like the G120E Development System. The FEZ Cobra II is based on the G120, not the G120E. MODE must be held low to enter serial mode on that board. If MODE is low, no device will appear if you are only connected to the USB client port on the FEZ Cobra II.
@ John - Confused, i just got the Fez Cobra working in serial mode talking to Real Term which is exactly what i want to do with the G120E.
Why can’t i do this with the G120E just like the Fez?
Are you saying that if i want to use Serial Mode in G120E, i must connect a UART to USB adapter to COM1?
@ anthonys - How do you have the FEZ Cobra II connected to your computer?
@ John - USB , Taking a video and will post shortly
@ anthonys - Video of me connecting Fez Cobra 2 in serial mode connected to Real Term - YouTube