Search found 21 matches
- 05 Dec 2006 20:28
- Forum: mikroC General
- Topic: Microchip USB Bootloader?
- Replies: 40
- Views: 41217
srdjan: This is the kind of stuff I needed for work with the Sparkfun bootloader. So I will try a few more things with that. Maybe. Development is much faster using a bootloader to test code. When I get it working I will buy MEC. We want MEC to support bootloaders of all kinds. Because if we develop...
- 25 Oct 2006 04:23
- Forum: mikroC General
- Topic: bootloader for 16f88
- Replies: 9
- Views: 14848
Ok, bootloader hooks up now. The Tool->bootloader connects and sends the file over. #1. Program uploaded never runs tho. #2. Bootloader.hex should just listen for 5 sec and not broadcast 'g's. Use upper asci ctrl bytes. Let the pic reply to the bootloader tool query. This minimizes 'junk' output to ...
- 25 Oct 2006 04:05
- Forum: mikroC General
- Topic: EEPROM Read/Write - Basic works but MikroC does not.
- Replies: 8
- Views: 6181
- 23 Oct 2006 21:50
- Forum: mikroC General
- Topic: Are Multiple Soft_I2C_Config() Legal ??
- Replies: 3
- Views: 3460
- 23 Oct 2006 14:41
- Forum: mikroC General
- Topic: bootloader for 16f88
- Replies: 9
- Views: 14848
- 21 Oct 2006 03:30
- Forum: mikroC General
- Topic: bootloader for 16f88
- Replies: 9
- Views: 14848
Aw, I can't get it to work. 2 questions: 1. are RCSTA and TXSTA supposed to be 0x18 and 0x98 respectively? 2. do the function 'org 0x000' values depend on having the optimized compiler? At this point I am un-optimized. :) I combined the main and the SUsart code into 1 .c file and compiled it. Having...
- 20 Oct 2006 14:13
- Forum: mikroC General
- Topic: bootloader for 16f88
- Replies: 9
- Views: 14848
- 19 Oct 2006 20:22
- Forum: mikroC General
- Topic: bootloader for 16f88
- Replies: 9
- Views: 14848
Source came with 6.2 compiler??? Looked to me like MEC made some precompiled libs for Susart and such? I will have to poke around some more and see. I would like to get bootloader working for 16f88, as my HW.programmer is kinda unreliable. I would really like to understand how it works, so as to be ...
- 18 Oct 2006 15:05
- Forum: mikroC General
- Topic: bootloader for 16f88
- Replies: 9
- Views: 14848
bootloader for 16f88
Hi ME, Can the MEC bootloader be made to work with 16f88 pic? I tried to change baud setting and memory and recompile, but it errors with libs not found. If I add the #pragma lines from 18f776.c to the 16f88.c will that work? If MEC just had a program offset and reset vector fix, I could use anyones...
- 17 Oct 2006 15:42
- Forum: mikroC General
- Topic: mikroC Team: Need origin preprocessor command!
- Replies: 6
- Views: 3079
- 13 Oct 2006 19:05
- Forum: mikroC General
- Topic: The way to use and create include files
- Replies: 2
- Views: 1924
1. add #include GPS.h to both files 2. yes, but you are setting different vals in each file... 3. dunno about that one, look it up. 4. yes 5. see #1 Suggest you Google search for some basic C background, specifically scoping rules. If you want TOTO to be visible to everything in your program you nee...
- 13 Oct 2006 03:01
- Forum: mikroC General
- Topic: mikroC Team: Need origin preprocessor command!
- Replies: 6
- Views: 3079
This is the translate program I am using...
HEX file translator for Sparkfun Bloader Version 1.0
Jean-Pierre MANDON (2004)
http://www.pictec.org
The error is a popup messagebox with title 'Avirtissement'
Presence de code aux adresses 1,2 et 3
Ok only.
HEX file translator for Sparkfun Bloader Version 1.0
Jean-Pierre MANDON (2004)
http://www.pictec.org
The error is a popup messagebox with title 'Avirtissement'
Presence de code aux adresses 1,2 et 3
Ok only.
- 12 Oct 2006 22:49
- Forum: mikroC General
- Topic: mikroC Team: Need origin preprocessor command!
- Replies: 6
- Views: 3079
Hi, I am using the Sparkfun bootloader, which wants the main prog to start at org 0x004. In CC5x its '#pragma org 4'. When I do org 4 for the main(), a lot oa weird things happen, most noticable is that mikroC reports the program size as 1640 words, but the sparkfun loader reports 2028 words loaded....
- 12 Oct 2006 16:46
- Forum: mikroC General
- Topic: mikroC Team: Need origin preprocessor command!
- Replies: 6
- Views: 3079
mikroC Team: Need origin preprocessor command!
To mikroC Team: I need a '#pragma org 4' or similar command so I can use a bootloader. I've tried everyone elses compilers and tools and you guys win on all accounts EXCEPT for the origin thing. I was using some French guys tool 'Translate' to move code inteh hex, but with 6.2.0 it refuses to work a...
- 26 Sep 2006 19:41
- Forum: mikroC General
- Topic: Soft I2C problem
- Replies: 2
- Views: 1901
Your control bytes indicate that you have A0 wired to Vcc is that right? Soft_I2C_Read() returns a byte, but you are putting that to PORTD! I think you should create a variable to hold that value. Or maybe you meant to route that to a pin on portd, like PORTD.F0? I had a fair bit of trouble with thi...