Part Number: SMARTRF06EBK
Other Parts Discussed in Thread: CC2538
Hello,
I got a question from one of the customers. The problem is as follows.
The CC2358 has an ADC that gets input from a light sensor on the SmartRFEB06. This initializes via the driverlib's aslInit call and it works as shown in the demos. However, if I wish to debug an image via the JTAG ( J-link ) I can load the image but cannot start it, or set a breakpoint, or if breakpoints are set nothing happens. In fact, I have noticed that the Image simply does not execute, but is in a loop.
If I simply comment out the call to the alsInit(), the image with all breakpoints executes and breaks as expected. Call the alsInit routine, nothing works.
Note that this happens only when loaded into the J-Link for breakpoint debugging. Otherwise, the image runs fine .
I suspect that this might be an issue with J-Link, however, for whatever reason, I am unable to use Keil Ulink2, it cannot commuicate with the device.
It is problem because we need to use printf to show the current AD voltage Level.
Could you kindly let me know how to fix this problem?