Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to drive a ST7735 TFT display with MX220?
22-10-2014, 11:29 PM,
#21
RE: How to drive a ST7735 TFT display with MX220?
May be. Look at stdout as it likely has the error info.

John
Reply
23-10-2014, 12:21 AM,
#22
RE: How to drive a ST7735 TFT display with MX220?
(22-10-2014, 11:29 PM)pingotg Wrote: May be.  Look at stdout as it likely has the error info.

John
I'm afraid I can't interpret the stdout errors...
If I try to compile for mx250 i get "code size= 25%", is the memory difference that big, from mx250 to mx220?
Thank you John

Here is the stdout (starting from the problematic part):


#    compile and link
#----------------------------------------------------------------------------

/Applications/pinguinoX.4-rev999/macosx/p32/bin/mips-elf-gcc -EL -O3 -ffunction-sections -fdata-sections -Wl,--gc-sections -march=24kc -msoft-float -minterlink-mips16 -Wl,--defsym,_min_heap_size=512 -Wl,-Map=/Applications/pinguinoX.4-rev999/source/output.map -Wl,-L/Applications/pinguinoX.4-rev999/p32/obj/non-free/ -D __PIC32MX__ -D __32MX220F032D__ -D PIC32_PINGUINO_220 -T/Applications/pinguinoX.4-rev999/p32/lkr/PIC32_PINGUINO_220/procdefs.ld -T/Applications/pinguinoX.4-rev999/p32/lkr/PIC32_PINGUINO_220/elf32pic32mx.x -L/Applications/pinguinoX.4-rev999/p32/obj/non-free/usb -lm -lgcc -lc -fdollars-in-identifiers -I/Applications/pinguinoX.4-rev999/p32/include/non-free -I/Applications/pinguinoX.4-rev999/p32/include/pinguino/core -I/Applications/pinguinoX.4-rev999/p32/include/pinguino/libraries -I/Applications/pinguinoX.4-rev999/p32/lkr/PIC32_PINGUINO_220 -I/Users/angelo/Documents/PINGUINO -I/Applications/pinguinoX.4-rev999/p32/obj/non-free -o /Applications/pinguinoX.4-rev999/source/main32.elf /Applications/pinguinoX.4-rev999/source/main32.c\

        /Applications/pinguinoX.4-rev999/p32/obj/non-free/crt0.S\

        /Applications/pinguinoX.4-rev999/p32/obj/non-free/processor.o\

        /Applications/pinguinoX.4-rev999/p32/obj/non-free/usb/libcdc220.a\

        /Applications/pinguinoX.4-rev999/p32/obj/non-free/usb/libadb.a\

        /Applications/pinguinoX.4-rev999/p32/lkr/PIC32_PINGUINO_220/ISRwrapper.S\

        /Applications/pinguinoX.4-rev999/p32/include/non-free/p32xxxx.h\

        -lm -lgcc -lc

/Applications/pinguinoX.4-rev999/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld: address 0x9d00d550 of /Applications/pinguinoX.4-rev999/source/main32.elf section `.text' is not within region `kseg0_program_mem'

/Applications/pinguinoX.4-rev999/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld: /Applications/pinguinoX.4-rev999/source/main32.elf section `.rodata' will not fit in region `kseg0_program_mem'

/Applications/pinguinoX.4-rev999/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld: address 0x9d00d550 of /Applications/pinguinoX.4-rev999/source/main32.elf section `.text' is not within region `kseg0_program_mem'

/Applications/pinguinoX.4-rev999/macosx/p32/bin/../lib/gcc/mips-elf/4.6.2/../../../../mips-elf/bin/ld: region `kseg0_program_mem' overflowed by 23248 bytes

collect2: ld returned 1 exit status

make: *** [link] Error 1
Reply
23-10-2014, 07:55 AM,
#23
RE: How to drive a ST7735 TFT display with MX220?
The "overflowed by" is the answer.

Due to the rather weird bootloader memory layout to get round the miserable 3KB Microchip provide the MX220 is somewhat crippled. I posted a way to get more memory, which may fix it.

John
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)