Changes between Version 2 and Version 3 of sysace/sreconfig


Ignore:
Timestamp:
Jul 19, 2006, 10:09:12 PM (18 years ago)
Author:
snovich
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sysace/sreconfig

    v2 v3  
    3131Once these changes and libraries have been applied to the project, writing the code to perform the reconfiguration is simple:
    3232
    33  * Before calling the reconfigure function, WarpSysace_GetLock must be called. 
    34   * The format for this is: '''WarpSysace_GetLock(base_addr)'''
    35   * '''base_addr''' is the name of the SysACE peripheral’s base-address found in xparameters.h (you may have to “generate libraries and BSPs” first)
    36   * xparameters.h is available under the Project’s “Applications” tab, under the active Project (in Bold) under the expanded “Processor: ppc405_0” listing
     33 * Before calling the reconfigure function, WarpSysace_GetLock must be called.
     34   * The format for this is: '''WarpSysace_GetLock(base_addr)'''
     35   * '''base_addr''' is the name of the SysACE peripheral’s base-address found in xparameters.h (you may have to “generate libraries and BSPs” first)
     36   * xparameters.h is available under the Project’s “Applications” tab, under the active Project (in Bold) under the expanded “Processor: ppc405_0” listing
    3737 * The reconfiguration function can be placed anywhere in the code as long as the lock function has been called first.
    38   * The format for this is: '''WarpSysace_reconfigure(base_addr, proj_addr)'''
    39   * '''base_addr''' is the name of the SysACE peripheral’s base-address found in xparameters.h (see above)
    40   * '''proj_addr''' is a type '''int''' between '''0''' and '''7''' which is the configuration-address for where the project sits on the flash card. Thus, it’s important to plan ahead of time where you want your projects to sit on the card for when you load them – otherwise this won’t work! See the above section: “Formatting and Loading Systems on to a Compact Flash”
     38   * The format for this is: '''WarpSysace_reconfigure(base_addr, proj_addr)'''
     39   * '''base_addr''' is the name of the SysACE peripheral’s base-address found in xparameters.h (see above)
     40   * '''proj_addr''' is a type '''int''' between '''0''' and '''7''' which is the configuration-address for where the project sits on the flash card. Thus, it’s important to plan ahead of time where you want your projects to sit on the card for when you load them – otherwise this won’t work! See the above section: “Formatting and Loading Systems on to a Compact Flash”
    4141 * Once you have finished the coding, prepare the flash card using the first section of this document as a reference. The current project calling the reconfiguration may be downloaded to the board in any way (JTAG, CF, etc), so long as the project to be switched to is sitting on the correct configuration address of a properly formatted flashcard (and is inserted on WARP).
    4242[[BR]]