2012-11-11, 23:52:44
Hi,
I have read all the threads here but havent found an answer wether this bootloader works without a external crystal, since im not working with one.
Im using the mplab ide and programmer pickit2.
I have a usb-to-rs232converter module from pololu.
When usbmodule tx and rx pins are connected to dspic rx and tx pins the uart therminal (in your gui) prompts "?" chars in the receive box even though i send something else (for e.g. "heips") in my case...
Isn't it so that the chars sent from terminal should be "looped" back to receive field in order to get the bootloader to work properly ?
when i connect the usbmodule VDD and GND to dspic. I get no response in the terminal.
I have configured RB1 <=> RP1 as U1RX and RB0 as U1TX
The problem is as i think in the oscillator setups (maybe) so first of all. Do i need an external crystal to get this workin, if not, what could be the best way to get the bootloader work with 40MIPS, since my end product will use 40MIPS speeds.
I know that the attachment file configs are not set properly to work with 40MIPS but i have tried this : (i suspect the hex value of 0x0744 may be wrong...)
user_code.inc
settings.inc
but it didn't work.
How is the terminal thing actually working ?
am i able to transmit and receive strings/chars any time when the power is turned on or is it only in the 3 second time window when power is set?
I don't know the firmware of the code. But the gui version is
1.5.5 (engine 2.2.8 )
I have read all the threads here but havent found an answer wether this bootloader works without a external crystal, since im not working with one.
Im using the mplab ide and programmer pickit2.
I have a usb-to-rs232converter module from pololu.
When usbmodule tx and rx pins are connected to dspic rx and tx pins the uart therminal (in your gui) prompts "?" chars in the receive box even though i send something else (for e.g. "heips") in my case...
Isn't it so that the chars sent from terminal should be "looped" back to receive field in order to get the bootloader to work properly ?
when i connect the usbmodule VDD and GND to dspic. I get no response in the terminal.
I have configured RB1 <=> RP1 as U1RX and RB0 as U1TX
The problem is as i think in the oscillator setups (maybe) so first of all. Do i need an external crystal to get this workin, if not, what could be the best way to get the bootloader work with 40MIPS, since my end product will use 40MIPS speeds.
I know that the attachment file configs are not set properly to work with 40MIPS but i have tried this : (i suspect the hex value of 0x0744 may be wrong...)
user_code.inc
Code:
CLR W0
mov.w W0,0x0744
clr W0
mov.w W0, CLKDIV
mov.w #41, W0
mov W0, PLLFBD
settings.inc
Code:
.equiv FCY, 40000000
but it didn't work.
How is the terminal thing actually working ?
am i able to transmit and receive strings/chars any time when the power is turned on or is it only in the 3 second time window when power is set?
I don't know the firmware of the code. But the gui version is
1.5.5 (engine 2.2.8 )