Is this possible to see your whole code?
Probably DEBUG won't work, ICD assume you use the internal USART
Do the sample test on the following Bruce's tutorial
http://www.rentron.com/PicBasic/MCS_X3.htm
Hardware must match as well.
Is this possible to see your whole code?
Probably DEBUG won't work, ICD assume you use the internal USART
Do the sample test on the following Bruce's tutorial
http://www.rentron.com/PicBasic/MCS_X3.htm
Hardware must match as well.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Steve, I just did that; copy-pasted Bruce's code, with the same results;
BTW, I am using a TTL inverter in place of a 'real' level shifter; could this be an issue? But then I can send data out to a terminal over the same com port I otherwise am trying to use for ICD, so I guess not. Right?
Still lost...
Anand
Not sure if i understand correctly, but in case you want to send serial data, you can't use the same port with another terminal software. As far as i remember of, MCSP ICD have a dedicated windows for that.... been long long time i didn't used it...
Did you tried with 4 and 20MHz osc?
Are you sure the COM port selected in the top menu match the one you plan to use?
Last edited by mister_e; - 19th May 2008 at 19:39.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Sorry, that was misleading; the serial data is being sent to the PC just for checking the hardware; while doing the ICD compile, I rem out the debug statements and close the terminal before running ICD.
I am using the internal oscillator, so I presume the default would be 4 MHz.
Yes, I've defined the right com port.
Out of curiosity.. are you using a USB-To-Serial adapter? If so did you tried on COM<16?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
No, a proper com port on my motherboard.
But guess what... a decoupling cap on the breadboard solved the problem. Even as I type, the ICD is chugging away happily.
I thought my supply was well filtered; didnt find the need for an extra cap on the breadboard before; just goes to show how crucial it is, I guess.
Thanks for the help, Steve.
Anand
those mandatory cap!
I asked about the USB-To-Serial because i tried with one here... and it refused to work. It begun to work when i set it to COM9 or lower. Good enough for the records i guess
But it happen on my machine... maybe not on others... my machine behave in unique way sometimes![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks