Jump to content

sdujolo

EstablishedMember
  • Content count

    96
  • Joined

  • Last visited

Community Reputation

0 Neutral

About sdujolo

  • Rank
    Regular
  • Birthday 09/22/1974

Contact Methods

  • MSN
    sdujolo@hotmail.com
  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    Sweden
  1. If I compare the header file for PIC16F1503 with data sheet it does not match. ///////Bank4////////////////// #define WPUA 0x020C #define SSP1BUF 0x020D #define SSPBUF 0x020D #define SSP1ADD 0x020E #define SSPADD 0x020E #define SSP1MSK 0x020F #define SSPMSK 0x020F #define SSP1STAT 0x0210 #define SSPSTAT 0x0210 #define SSP1CON1 0x0211 #define SSPCON 0x0211 #define SSPCON1 0x0211 #define SSP1CON2 0x0212 #define SSPCON2 0x0212 #define SSP1CON3 0x0213 #define SSPCON3 0x0213 Bank 4 20Ch WPUA — — WPUA5 WPUA4 WPUA3 WPUA2 WPUA1 WPUA0 --11 1111 --11 1111 20Dh to 210h — Unimplemented — — 211h SSP1BUF Synchronous Serial Port Receive Buffer/Transmit Register xxxx xxxx uuuu uuuu 212h SSP1ADD ADD<7:0> 0000 0000 0000 0000 213h SSP1MSK MSK<7:0> 1111 1111 1111 1111 214h SSP1STAT SMP CKE D/A P S R/W UA BF 0000 0000 0000 0000 215h SSP1CON1 WCOL SSPOV SSPEN CKP SSPM<3:0> 0000 0000 0000 0000 216h SSP1CON2 GCEN ACKSTAT ACKDT ACKEN RCEN PEN RSEN SEN 0000 0000 0000 0000 217h SSP1CON3 ACKTIM PCIE SCIE BOEN SDAHT SBCDE AHEN DHEN 0000 0000 0000 0000
  2. I tryed diolan bootloader but it did not work good because it use extended instruction and boostc does not support that. I now using microchip usb bootloader with out any problems.
  3. sdujolo

    Usb Bootloader!

    I gave up and start using Microchip USB Bootloader. It´s working good with boostc but does not support encryption. It will be easy to add it but then you need to buy Microchip compiler and then there is no need to have SourceBoost compiler
  4. sdujolo

    Usb Bootloader!

    No this will not work as the interrupt routines are jumped to from 0x808 and 0x818, the routines themselves do not reside at these addresses. -rb 2048 ( or -rb 0x800 ) will relocated the whole program, including putting the required jumps in at 0x808 and 0x818 for the interrupt routines. Regards Dave Hi Dave and thanks for your answer. I figure out that to when I stated to check asm files. I have tried with just -rb 2048 optiion and that works with my simple flashing some led program but not with my NOVO program. I have figure out the when not using the bootloader it only works if I have "Extended instr.Set" disabled. The bootloader need "Extended instr.Set" enabled is there any work around? But that does not look as the entire problem beacuse when I have "Extended instr.Set" enabled with out bootloader it print text on LCD and then stop but with bootloader nothing happen. Best regards /Jörgen
  5. sdujolo

    Usb Bootloader!

    I have it working whit a simple program but when I try more complex program it fails. I think it´s because bootloader use extended instructions. Is this correct way to redefine interrupts vector? void interrupt( void )@0x808{ } void interrupt_low( void )@0x818 { }
  6. sdujolo

    Usb Bootloader!

    I have start playing around whit the bootloader. I can download my program but it does not start. I have compiled a simple program that flash some leds. It works if I flash it to the PIC18F2550 with out the bootloader. I then recompile it with -rb 2048 option and use the bootloader then it does not start. Any ides what I am doing wrong? /Jörgen
  7. sdujolo

    Usb Bootloader!

    I've been meaning to give it a try, but haven't gotten around to it yet. I've seen positive feedback from others that have used it standalone. I'll give it a shot in a few days. What settings ect need to be done in boostc to use it? BR /Jörgen
  8. Have any one tested this bootloader with boostc?
  9. Yes it say but it´s not initialize the same way.
  10. Anyone has a lib for DOG Character displays?
  11. I am testing Novo and the program is working but when I activate serial port it stop working. rcsta.SPEN = 1; //If I comment out this line everything works.
  12. Plugin is not working on PORTA but it works on PORTB. I have put all to digital ports. I use a PIC18F1320 clear_bit(adcon0, ADON); //A/D On bit 1 = A/D converter module is enabled 0 = A/D converter module is disabled set_bit(adcon1, PCFG0); //Digital I/O set_bit(adcon1, PCFG1); //Digital I/O set_bit(adcon1, PCFG2); //Digital I/O set_bit(adcon1, PCFG3); //Digital I/O set_bit(adcon1, PCFG4); //Digital I/O set_bit(adcon1, PCFG5); //Digital I/O set_bit(adcon1, PCFG6); //Digital I/O I think I found the problem RA5 is only input and RA4 is Open-drain when output. I have to use other port.
  13. sdujolo

    Sd Memory Card

    Try this FatFs
  14. It's worth buying the license for use on Linux. I've been using it on Linux for a month or two now (ever since I found out registration worked via command line). It works almost flawlessly with PikLab, and it works just as well with Eclipse. Eclipse you have to modify a few settings and write your own Makefile, but if you've ever programmed using Linux before, you can probably already do that. Also, I'm not sure if you can run goodies.exe on Linux, but if you run it on Windows and move the NOVO sources to Linux, they work as well. Just remember to delete them off the Windows machine due to the license (only allowed on one node). If you are going to make large scale projects, I'd recommend NOVO. It's amazing how well it works and how simple it is. I should probably stop there before I start treading into BoostC fan-boy territory. - Bill I have try to run under wine in ubuntu 8.04 it works if I use the last open project but I can´t open a new one then it close it self and noting happen. I think if you have it working correct under wine it will be ok but at the moment it does not:(
×