Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Ads

Discussion Groups

Discussion Groups | Piclist | more 2550 issues

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

more 2550 issues - Lez - Nov 2 16:34:12 2006

well I got the programmer working.

I burned it with F88 code, changed some port assignents etc as I now
have more IO lines.

Turned it on and all looked fine.

Except, the mobile phone it should be communicating with is doing
nothing, and I'm getting an error flashed on an led I have connected
to the pic, 5 flashes, no phone detected...
After looking at this I grabbed an old serial to usb dongle I use as a
sniffer to see whats going on with the serial side, all I get going to
phone is garbage, so I guess the (picbasic) software serial out
commands are not working right.(dont ask why I dont use hardware.....)

I also noticed it seems to be running fast, so thats probably causing
the comms error.

I have it on a 16mhz crystal, and put a 'def osc 16' in my source.

I'm now out of ideas and open to guesses.
--

Lez
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


RE: more 2550 issues - George Tyler - Nov 4 6:20:47 2006

Check that it is running at 16MHz, some crystals can run at sub multioles.

-----Original Message-----
From: p...@yahoogroups.com [mailto:p...@yahoogroups.com] On Behalf Of
Lez
Sent: Friday, 3 November 2006 10:22 a.m.
To: p...@yahoogroups.com
Subject: [piclist] more 2550 issues

well I got the programmer working.

I burned it with F88 code, changed some port assignents etc as I now
have more IO lines.

Turned it on and all looked fine.

Except, the mobile phone it should be communicating with is doing
nothing, and I'm getting an error flashed on an led I have connected
to the pic, 5 flashes, no phone detected...

After looking at this I grabbed an old serial to usb dongle I use as a
sniffer to see whats going on with the serial side, all I get going to
phone is garbage, so I guess the (picbasic) software serial out
commands are not working right.(dont ask why I dont use hardware.....)

I also noticed it seems to be running fast, so thats probably causing
the comms error.

I have it on a 16mhz crystal, and put a 'def osc 16' in my source.

I'm now out of ideas and open to guesses.

--

Lez

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: more 2550 issues - Lez - Nov 4 7:38:26 2006

On 04/11/06, George Tyler wrote:
> Check that it is running at 16MHz, some crystals can run at sub multioles.
Thanks, it was the fuses, I thought just putting a def osc 16mhz in
the code would have told the compiler to include something in the hex
for the programmer to set the fuses correctly, but it had not, once I
set the fueses to (16)/4 to get the pic running internally at 4mhz all
was well.

I have decided to run my little project back on the F88 for now and
come back to the f2550 in a few weeks.

When I do I want to go with a USB bootloader because since I want the
project to have usb, it seems silly to develop it on the PC and keep
unplugging it to plug in the programmer and use ISP when I could do
away with all the cable swapping for just the loss of a small amount
of code space.
What I dont understand is how I tell the compiler to start the code
higher up (I think 0800) so all the jumps/braches are correct etc

Unless it just needs an ORG #800 like the Z80 compilers did....
Lez
to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

RE: more 2550 issues - George Tyler - Nov 5 13:56:09 2006

ORG works for the assembler, don't know about the compiler. There will be a
way to do it though.

_____

From: p...@yahoogroups.com [mailto:p...@yahoogroups.com] On Behalf Of
Lez
Sent: Sunday, 5 November 2006 1:34 a.m.
To: p...@yahoogroups.com
Subject: Re: [piclist] more 2550 issues

On 04/11/06, George Tyler
xtra.co.nz> wrote:
> Check that it is running at 16MHz, some crystals can run at sub multioles.

Thanks, it was the fuses, I thought just putting a def osc 16mhz in
the code would have told the compiler to include something in the hex
for the programmer to set the fuses correctly, but it had not, once I
set the fueses to (16)/4 to get the pic running internally at 4mhz all
was well.

I have decided to run my little project back on the F88 for now and
come back to the f2550 in a few weeks.

When I do I want to go with a USB bootloader because since I want the
project to have usb, it seems silly to develop it on the PC and keep
unplugging it to plug in the programmer and use ISP when I could do
away with all the cable swapping for just the loss of a small amount
of code space.

What I dont understand is how I tell the compiler to start the code
higher up (I think 0800) so all the jumps/braches are correct etc

Unless it just needs an ORG #800 like the Z80 compilers did....

Lez



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )