[elektro] PIC32 memoria kezelés

F-I flaist at gmail.com
Thu Nov 24 00:41:45 CET 2011


Hát ezt néztem tegnap is, de akkor nem ment.
Most csináltam egy full fordítás, és berakta a BOOT területre.
De már tegnap átállítottam 16 bites módba a fordítót, így rövidebb (kb. 2/3) 
lett a program.
A 16bit módban lassabb lesz a proci?
Gondomlom a boot-nál nem fog számítani.


Tudni, hogy ezek a misztikus definíciók mit jelentek?

  kseg0_program_mem    (rx)  : ORIGIN = 0x9FC00000, LENGTH = 0x3FFF /* 16KB 
reserved for bootloader*/
  kseg0_boot_mem             : ORIGIN = 0x9FC00490, LENGTH = 0x970
  exception_mem              : ORIGIN = 0x9FC01000, LENGTH = 0x1000
  kseg1_boot_mem             : ORIGIN = 0xBFC00000, LENGTH = 0x490
  debug_exec_mem             : ORIGIN = 0xBFC02000, LENGTH = 0xFF0

Üdv. István


-------------------------------------------------------

azért nézd meg ezt a MAL-ból:
xxxxx\Microchip/USB/Documentation/Getting%20Started/Getting%20Started%20-%20Running%20the%20Host%20-%20Bootloaders%20-%20Thumbdrive%20Bootloader.htm

Configuring Boot Loader and Target Application Linker Scripts for PIC32 
devices
The PIC32 USB MSD Host boot loader uses the PIC32MX795F512L device by 
default. To use the boot loader with another PIC32 device (for example, say 
the PIC32MX564F128H device), the following steps
should be followed.





More information about the Elektro mailing list