Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chip / memory discrepancy for Fubarino Mini 2.0 (chipKit-core V2.1.0) #28

Open
JacobChrist opened this issue Dec 31, 2021 · 2 comments
Open

Comments

@JacobChrist
Copy link

I'm am prototyping a new board with the Fubarino Mini 2.0. Both the Fubarino Mini 2.0 web page and the Microchip Direct web page indicate that the board has a PIC32MX250F128D-50I/ML while the actual physical board in my possession and the linker scripts selected in the boards.txt file are for the PIC32MX270F256.

excerpt from boards.txt:

# Fubarini Mini v2.0

fubarino_mini_20.ccflags=-Map="map.map"
fubarino_mini_20.ldscript=chipKIT-application-32MX270F256.ld

I actually noticed the discrepancy when building the project and seeing that the Maximum program space didn't match the PIC32MX250F128D:

Sketch uses 29916 bytes (12%) of program storage space. Maximum is 245760 bytes.
Global variables use 7752 bytes (12%) of dynamic memory, leaving 55736 bytes for local variables. Maximum is 63488 bytes.
    Copyright: (C) 2011-2015 Serge Vakulenko
                   2016-2017 Majenko Technologies
Programmer for Microchip PIC32 microcontrollers, Version 2.1.46
      Adapter: STK500v2 Bootloader
 Program area: 1d000000-1d1fffff
    Processor: Bootloader
 Flash memory: 2048 kbytes
  Boot memory: 80 kbytes
         Data: 31220 bytes
        Erase: done
Program flash: .................................################################## done
 Verify flash: .................................################################# done
 Program rate: 6371 bytes per second

And a picture of the chip on my board:

20211231_091314

@EmbeddedMan
Copy link
Contributor

EmbeddedMan commented Dec 31, 2021

Jacob, the first page of the FB Mini User Manual does talk about about both chips.

Probably the best solution is to have separate sets of board files for the different versions of FB Mini (v1.5 vs v2.0 and above).

https://github.com/fubarino/fubarino.github.com/blob/master/mini/docs/FubarinoMiniUserRefManual.pdf

@JacobChrist
Copy link
Author

So v1.5 is the 250 and v2.0 is the 270, the manual doesn't really make that clear either, but I get it. Just adding a note here in case you want to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants