Just use serial1 for your debug but remember you will need a separate USB-serial adapter. WHy should i post the rest of the source which is just about NFC & does not have anything todo with the serial problem? That does not make any sense. I've also edited my latest post. When I opened the serial port for the USB cable it stopped. KGDB remote debugging connection issue via USB and Serial connection. [Host /dev/ttyUSB0] USB to Serial ----- COM port [Target /dev/ttyS0]. Problems to connect GDB over an serial port to an KGDB build Kernel. Connect gdb client through terminal server with authentication.
The steps to enable USB debugging depend on the version of Android running on the target device, as indicated in the following table: Android Device Instructions Android 4.0 and newer (Jelly Bean) Enable the USB Debugging option under Settings Developer options. For Android 4.2 and newer, Developer options is hidden by default; use the following steps:. On the device, go to Settings About.
Tap the Build number seven times to make Settings Developer options available. Then enable the USB Debugging option.
Tip: You might also want to enable the Stay awake option, to prevent your Android device from sleeping while plugged into the USB port. If you are running Windows 8, you must configure the USB connection as Camera (PTP).
Depending on your Android version, you must do either of the following:. Drag down the status bar, tap Connected as under Notifications, and select Camera (PTP).
Go to Settings Storage Menu USB computer connection, and select Camera (PTP). For more information, see Kindle Fire devices Select Settings Security and set Enable ADB to On.
For more information, see the. If you are running Android 4.2.2 or later, you may see the following dialog when you connect your device to your PC running RAD Studio: Click OK to allow USB debugging on your PC. If you accidentally click Cancel, disconnect your device from your PC and connect it back to make the dialog show up again on your device.
Troubleshooting. If your Android device is not correctly detected by RAD Studio or the system Device Manager, follow the steps above to verify that USB debugging is enabled.
There are many help resources on the internet that can help you solve Android device detection issues, such as the answers to the question in. For general information about development setup for Android devices, see the. See Also.
YDLU 15-Jul-16 7:08 15-Jul-16 7:08 Hi: In module 'UpdateBaudRateCollection' of SerialPortManager.cs, where the property or field of 'dwSettableBaud' and 'commProp' come from? So, dump all of fields using following debugging code: serialPort.GetType.GetField(BindingFlags.NonPublic BindingFlags.Instance).ToList.ForEach(f = Debug.WriteLine(f.Name)); None of those field on 'SerialPort'? Could you help us, how you add those fields into 'SerialPort'? Thanks Lu Found answer, COMMPROP structure.
Listed dwSettableBaud. So, with RS232, you must know the settings you need to talk to the other device, RS232 is a wire / voltage standard with a set of options. Thus if you have the wrong port speed, number of data bits or stop bits or anything else set wrong, then the data is and should be giberish. There are also many devices that communicate as bytes of data (not human readable anyways) so it's something you have to do some research on. Most use 8 data bits, 1 stop bit, and no flow control, and then you just have to guess the speed. I just setup a scale that uses 7 data bits, 1 stop bit at 9600 bps. The manual said 8 data bits (manuals can be wrong) Hope this helps.
Member 12363554 2-Mar-16 23:00 2-Mar-16 23:00 Hi, i'm trying to use this app to receive data from a bluetooth device but no data received, it looks like some configuration is missed because the bluetooth protocol of the device: Bluetooth protocol of the device: - baudRate = 38400 - dataBits = 8 - Parity = None - stopBits = 1 1/ the App send 'P' to the device = bluetooth connexion established ( P is a command ) 2/ the device send the data then 'R' ( 12 block of data ) 3/ the App close with 'F' the question is how to send command to the device ( its the only way to receive data ). Any idea please?? I am also not getting any data coming through the monitor. I tried running through visual studio 2013 in both debug and compiling a build version.
I am using windows 8.1 for the test pc. The device I am sending the data from is a arduino on COM5 at 9600 baud. From my understanding the settings for the arduino are: Baud Rate: 9600 Data Bits: 8 Parity: none Stop Bits: one edit: Also, when I run the program through VS as either debug or release, the program will pop up with the fields populated including the correct COM5 port selected but wont do anything. When I try to open the program directly from the debug folder, I can see the process running in task manager but the GUI never comes up.
Edit2: I also tried using the precompiled one you have available and that one has the same issue as in the first edit.