Search found 106 matches
- Thu Mar 26, 2009 4:33 am
- Forum: General
- Topic: bootloader for 18F4523
- Replies: 5
- Views: 5333
Since the addition of the org_program option to Swordfish, I was able to write my own custom ethernet bootloader for a 18F4620. I used to think writing a bootloader was for only the most hardcore PIC programmers. But after writing my own version, I realized that it's just another piece of code. Mayb...
- Fri Feb 20, 2009 2:14 pm
- Forum: User Modules
- Topic: C guru needed
- Replies: 12
- Views: 11577
- Thu Jan 22, 2009 3:48 pm
- Forum: User Modules
- Topic: Maximizing speed and efficiency of MCU
- Replies: 14
- Views: 9107
Or you could try overclocking the PIC It has worked for me.
Take a look at this post:
http://www.sfcompiler.co.uk/forum/viewtopic.php?t=707
Take a look at this post:
http://www.sfcompiler.co.uk/forum/viewtopic.php?t=707
- Mon Jan 12, 2009 7:18 am
- Forum: General
- Topic: Dual PIC anyone?
- Replies: 6
- Views: 4206
I have made a few systems that run on multiple PICs. In my latest creation, I actually did run 2 PICs from the same crystal. I've had the best results by doing the following.... 1. Put a crystal on OSC1 and OSC2 pins of PIC "A" 2. Set PIC "A" for OSC = HS 3. Connect the OSC1 line of PIC "A" to the O...
- Tue Dec 09, 2008 4:29 pm
- Forum: General
- Topic: Commercial product #3?
- Replies: 4
- Views: 3737
- Tue Dec 09, 2008 6:57 am
- Forum: General
- Topic: Commercial product #3?
- Replies: 4
- Views: 3737
Commercial product #3?
Are the "Z90 SpectraScreen Panadapter" and the "LP-100 Digital Vector Wattmeter" the only two commercial products developed using Swordfish? With all of the activity on this site I hate to think that I am finally the third. Anyway, I have a commercial product written in Swordfish that I can't seem t...
- Tue Dec 02, 2008 3:46 pm
- Forum: Compiler
- Topic: Anyone had any experience with Ramtron FRAM
- Replies: 15
- Views: 9981
With the software SPI there shouldn't be any difference with the pins you use. My pin selection had more to do with my project circuit than the FRAM chip. 1) I use a 3M test clip and solder wires onto the clip pins. http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=923650-08-ND 2) I d...
- Tue Dec 02, 2008 6:25 am
- Forum: Compiler
- Topic: Anyone had any experience with Ramtron FRAM
- Replies: 15
- Views: 9981
Ok, you've got it correct. Their nomenclature tripped me up the first time I ordered some parts. Here's some code I used for a 256Kb FRAM SPI chip. I'm guessing this would work for the 512Kb SPI FRAM chip as well. Module FRAMio #option SSPI_SCK = PORTD.4 #option SSPI_SDI = PORTD.6 #option SSPI_SDO =...
- Mon Dec 01, 2008 11:44 pm
- Forum: Compiler
- Topic: Anyone had any experience with Ramtron FRAM
- Replies: 15
- Views: 9981
- Mon Dec 01, 2008 10:47 pm
- Forum: Compiler
- Topic: Anyone had any experience with Ramtron FRAM
- Replies: 15
- Views: 9981
I'm not sure about the I2C version but the SPI FRAM chips have a 'chip select pin" So you can use as many as you like. My code allows you to access any address randomly. I do this by setting the read address before each operation. Although you can get data out of the chip faster if you just set an a...
- Mon Dec 01, 2008 10:23 pm
- Forum: Compiler
- Topic: Anyone had any experience with Ramtron FRAM
- Replies: 15
- Views: 9981
Here's my library for a FM25040A (SPI version). It uses a 'software SPI'. You won't be able to use this code for the higher Kb versions because of the way the addresses are set on the FM25040A. For more information read the FRAM datasheets! Module FRAMio #option SSPI_SCK = PORTC.4 #option SSPI_SDI =...
- Mon Dec 01, 2008 9:43 pm
- Forum: Compiler
- Topic: Anyone had any experience with Ramtron FRAM
- Replies: 15
- Views: 9981
I use FRAM in a lot of my designs. I'm not sure why more people don't use it. In my opinion it's a lot better than EEPROM for small sizes. However, larger Kb sizes of FRAM start to get expensive. I write and rewrite to my FRAMs constantly. Plus, I never have to wait for a write operation to complete...
- Sun Nov 02, 2008 5:03 am
- Forum: Compiler
- Topic: CCP and timer1 questions
- Replies: 5
- Views: 4575
I recently made a frequency measuring device using a 18F2410. I used the internal clock at 8MHz and it was able to reliably measure frequencies from 0 to 9kHz. Although I didn't use CCP at all. Instead I used Timer0 to count the pulses and the ISRTimer module to periodically check Timer0 and calcula...
- Tue Oct 28, 2008 5:01 pm
- Forum: IDE
- Topic: IDE errors
- Replies: 13
- Views: 8127
IDE errors
Does anyone get "Access Violation" errors while editing code? Sometimes it kills the entire app, other times it doesn't. But I'm surprised how often it happens (at least once a day).
- Wed Sep 24, 2008 7:35 pm
- Forum: Modules
- Topic: usart.write loosing characters
- Replies: 2
- Views: 3177