Guyfrom7up
New Member
is it possiable to some how wook something like an SD card to a PIC and/or AVR microcontroller so that it has a whole bunch of memory?
Last edited:
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
3v0 said:"A whole bunch of memory" is colorful but....
How many K Bytes of memory do you need?
Guyfrom7up said:is it possiable to some how wook something like an SD card to a PIC and/or AVR microcontroller so that it has a whole bunch of memory?
donniedj said:I aggree with most, you most likely will have an abundance of Program Memory using any 8K or 16k mcu.
David James said:I've found a way of using lots of program memory - do floating point calculations using the C library functions ... I've been trying to code up the Latitude/Longitude to OSGB Easting/Northing conversion on an PIC18F4550 - I was planning to use the USB functionality to communicate with a PC and use the USART to receive NMEA sentences from a GPS receiver.
I have a working version of the conversion algorithm, and that (together with the library code that it has pulled in) has taken up nearly 75% of the available program memory. I'm beginning to think that I may have to go to a design with 2 PICs, one doing USB to a PC and various other functions and the other doing the co-ordinate conversion and then communicate between them with I2C or SPI or something similar.
Oznog said:Wow 75%?
Oznog said:Something is wrong! I've read NMEA sentences from a 4800 baud serial GPS, and it doesn't require anything like that to interpret lat-longitude and calculate a distance between 2 pts and all that.
Oznog said:You don't need- or even want- floating point ops for this. They're incredibly slow and floating point accuracy is sometimes difficult to predict.
David James said:The map file reports "23727 out of 33048 program addresses used, program memory utilization is 71%"
Nigel Goodwin said:No disrespect, but it looks like you may be writing this very badly, and loading LOT'S of library routines?.
This doesn't mean you've used 71% of your own program space, as the library routines are already loaded any extra parts you write will use the already present libraries - so you 'should' be able to add a lot of extra program, with only small increases in total memory useage.
Krumlink said:If you have a open adress bar then you could hook up a EEPROM.