Comments (8)
What are the correct sizes? Also, has this accounted for the
reservation of memory for eeprom?
On Fri, May 13, 2011 at 12:33 PM, nkcelectronics
[email protected]
wrote:
Why the max upload size is set to 64000 instead of 128000 in boards.txt for the Uno32 board?
Reply to this email directly or view it on GitHub:
#19
President
Fair Use Building and Research (FUBAR) Labs
http://fubarlabs.org
from chipkit32-max.
The EEPROM on the Arduino Uno is 1K, so that should be the reserved memory for EEPROM. Is EEPROM emulated on the PIC32? If the data is not stored, what happens with sketches that use the EEPROM? Shouldn't the boards include a small EEPROM chip?
If you need to reserve EEPROM, then available upload size should be 127000 (127K), not 64000 as defined now
from chipkit32-max.
The first proto of the uno32 was a 64k chip, I did not remember to
update it. Thanks for the catching that
Mark
On 5/13/11 12:33 PM, nkcelectronics wrote:
Why the max upload size is set to 64000 instead of 128000 in boards.txt for the Uno32 board?
from chipkit32-max.
I think the linker now reservers 16k of memory for eeprom. Should that be subtracted as well?
from chipkit32-max.
Rick
I had specifically asked Jason to NOT modify the linker script to deal
with the EEPROM size. This way it can be modified by the user IF they
know what they are doing.
If he is to modify it, it MUST be 4K, the bootloader knows to leave the
last 4K alone. So if he has it set to 16K, then there is 12K of wasted
space that neither the code or the epprom can use.
Mark
On 5/13/11 1:43 PM, ricklon wrote:
I think the linker now reservers 16k of memory for eeprom. Should that be subtracted as well?
from chipkit32-max.
In the Arduino with the AVR chip it is the Flash size - bootloader size, because EEPROM is integrated.
In the chipKIT, the bootloader is in a separate 12K, so if the linker reserves 16K for EEPROM, then the available size for uploads should be 128000 - 16000 = 112000. Why the linker reserves 16K for EEPROM, if the microcontroller doesn't have any?
This parameter is important because it is reported by the Arduino IDE after compiling the sketch (for users to verify if they are running out of space or not)
from chipkit32-max.
There was some conflict between Gene and Mark's requests. Gene requested that the MAX32 linker script reserve 16K for eeprom emulation so that they could implement wear leveling in order to emulate 4k of eeprom. This is because flash endurance is lower than eeprom endurance. He requested that the UNO32 reserve only 4K. His email may have gotten buried in the noise because nobody else responded to it...
from chipkit32-max.
If reserved space for Uno32 is 4K, then available size in boards.txt should be 124000. Now is 112000 (128K - 16K).
from chipkit32-max.
Related Issues (20)
- Initialize device-specific features such as Floating-Point Unit in application startup code HOT 1
- Fix MPIDE splash screen to fix incorrect compatibility information HOT 1
- Create simple examples for SPI and DSPI libraries, include in Examples folder
- Create simple examples for DWTI library HOT 2
- Create new Software Serial library for Arduino 1.6.x compatibility HOT 1
- Create new build target getCore and have it copy chipKIt-core files to correct place
- Matrix and Sprite library no longer supported HOT 2
- Sync changes with chipKIT-core 20150903 HOT 1
- Added INO as default extension instead of PDE HOT 1
- bump version for release to 16778024
- Examples folder no longer shows up in MPIDE HOT 2
- Pull in code changes from issue #83 in core HOT 1
- Add define to allow sketches/library to know what IDE they're compiled under HOT 1
- Add -ftoplevel-reorder to c and c++ compile options HOT 1
- Fix over-ridden compiler options in boards.txt for -G1024 HOT 3
- Remove all vestiges of plilb.h from source HOT 5
- Re-code MPIDE so it doesn't use boards.txt at top level
- typedef struct compile error in mpide-20140316
- Updated FTDI driver to 2.12.10 HOT 1
- USB client stack problems HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chipkit32-max.