industrialNETworXnetx

KJD

KJD

| 17.11.2008 | 10:48 | 14 replies

USB-CDC Example for NXHX 500-RE

Hi! Is there an USB-CDC Example availiable for the NXHX 500-RE? I have found examples for NXHX 50-RE and for "all boards". I have downloaded the example for "all boards" but there is no sdram script for nxhx500-RE.

Thanks KJD

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 17.11.2008 | 10:56

Hi KJD,

please use an other SDRAM script from a NXHX500 board. This will work.

KJD

KJD

| 12.01.2009 | 14:33

Hi AJ!

Sorry for my late reply. Thank you for your answer.

I have still a problem. If I run the example in the device manager appears at (COM and LPT) "netX CDC Demo (COM5)". I think this will be ok. Then i configure the hyper terminal (Baudrate 115200, 1 stopbit, no parity and 8 databits, COM5). Now i can connect and disconnect in hyper terminal, but nothing happens. I will use the first test case, so i commented out the others.

Could anybody tell me what I'm doing wrong? Or does anybody have an Idea what's wrong?

Thanks! KJD

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 12.01.2009 | 15:21

How are the other terminal settings?
Emulation: auto.
Telnet Terminal Recognition:Telnet

Have you tried to push the "Enter" or "Space" key after you are connected to the terminal application?

KJD

KJD

| 12.01.2009 | 15:41

Hi!

Yes, Emulation is "auto". Telnet Terminal Recognition was "ANSI". Now it's "Telnet" but always nothing happens. I have also tried push "Enter" and "Space".

KJD

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 13.01.2009 | 11:23

:?:
Did you flashed the example into the board or are you still working with the debugger?

KJD

KJD

| 13.01.2009 | 11:51

Hi!

I'm still working with the debugger.

KJD

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 13.01.2009 | 12:11

can you try to run the terminal application on a different PC.
Which OS are you using?

KJD

KJD

| 13.01.2009 | 12:49

Hi!

I'm working with Windows XP SP3. It's currently difficult to get another PC, but i will try to find one. I have tried to debug the example. I can step through the lines in main until "usb_cdc_buf_send_flush();". But i can't see anything in my terminal. Perhaps this information will help you (and me :) ).

KJD

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 13.01.2009 | 13:16

Which compiler version are you using?

KJD

KJD

| 13.01.2009 | 14:10

Hi!

HITOP52-netSTICK version: 05.20.0424.

I have followed yor suggestion and tried to run the terminal application on a different PC.
-> It works fine :) !
On the other PC the same OS is used. Why does it not run on my PC?

Thanks! KJD

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 13.01.2009 | 14:25

Hi,

good news.
BTW: I did not asked for the used Hitex version, I asked for the used GCC Compiler version ;-)

Why is the Terminal application on your PC not working? What should I say? I do not know your PC.
Some possible hints:
- The COM port of the machine is defective. Try to communicate over the same COM port with anything else.
- The COM port is already used by any other application.
- There is an active firewall, which will also monitor the COM port
- ...

KJD

KJD

| 13.01.2009 | 14:44

Hi!

Sorry! This should be the right version: 04.00.0310.
You are right, i asked the wrong question... I had to ask for possible hints....

Thank you for the hints!
KJD

KJD

KJD

| 14.01.2009 | 09:40

Hi!

Now it works on my PC, too. :)
But :( not on all USB ports. Amongst others, the 2 USB ports at the front. That's the reason, why it tooks sol long time until I have recognised the problem. At the USB ports at the back of my PC it works fine (all but one). Other USB devices (or for example the HiTOP debugger) works fine on all USB ports (even on the "broken"). On every USB port (I have plugged in the USB from NXHX 500-RE), in the device manager appears at (COM and LPT) "netX CDC Demo (COM5)". Does anyone has an idea what's the problem?

Thanks!
KJD

KJD

KJD

| 14.01.2009 | 16:01

Hi!

Now i know why it doesn't work... If I pluged in the USB-cable (to HiTOP) and the USB-cable for the communication (USB CDC example)at the same USB-Root-Hub the example will not work. I suppose its because the USB-port (to HiTOP) "says", that it need 500mA (although I use an extern power supply). So the USB controller recognize that the maximum of power is used and so it will turn off the USB-port from the USB CDC example. If I pluged in the USB-cable on different USB-Root-Hubs everything will work fine.

KJD

Login