- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
04-21-2017 06:04 AM
hi, m attaching my code below. The problem with the code is
- when 8-bit debugger is connected and the debugger mode is on, the program runs with no problem.
- When the debugger is physically connected but not disconnected from software, the controller resets after certain interval.
- When the debugger is not physically connected, the controller doesn't resets but serial communication doesnot work.
Solved! Go to Solution.
04-23-2017 09:34 PM
Did you use the C8051F350 DK board or the board built by yourself ? If this issue just be reproduced with your own board, upload the schematic will helpful to find out some clue.
And the C2CK will share with the external reset signal pin, you can try to monitor the C2CK/RST pin under case 2.
For the serial communication issue, I think it should has no relation with the debugger, you can reference the example under the folder as below.
04-24-2017 12:59 PM
After the device resets, could you use Simplicity Studio to connect to the device without resetting it, then pause code execution and look at the RSTSRC register?
This should, at least, tell you what's causing the device to reset.
If it's a pin reset, and you have Simplicity Studio V3 running, it might be that Studio is occasionally pinging the debug adapter for any connected devices. You can disable this device detection in the Studio Preferences: http://community.silabs.com/t5/tkb/articleprintpage/tkb-id/1@tkb/article-id/784
04-25-2017 03:20 AM
- When the debugger is not physically connected, the controller doesn't resets but serial communication does not work.
Did you maybe forget to connect GND for the serial connection?