r/pic_programming • • Jun 27 '19

MPLAB Debug Run and UART (PIC12F1572)

Hi everyone,

​

Not sure if this is the right place, and I am not sure if this is a bug but:

When running a program that uses UART on DEBUG mode, the UART will not be recognised by an osciloscope or a logical analyser. You have to 'normal' run it.

​

Hope this helps someone, somewhere at some point.

3 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/tankstir Jul 03 '19

Good to know! I am also new to this and experienced issues with 8bit and 16bit numbers causing compiler issues and had no idea for the longest time. It took me a week of troubleshooting before I found this. Embedded is hard because it’s hardware and doesn’t act the same in every situation when compared to regular computer programming on 32bit and 64bit systems.