lpcware

SAX Error - bloc - prog_flash

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by jd7 on Wed Oct 06 06:02:23 MST 2010
I am using the LPC-Link to an EM-LPC1700 board.  I am using all the defaults but did include new files. I can compile fine.  I can download and debug the first time without any error messages and I can see the peripherals tab with info in it. However, from then on (until I exit and re-enter the IDE) I will get the following message boxes and the peripherals tab is empty.  The code seems to download and run correctly.

Does anyone know what the problem is or how to work around it?

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

The first message box

SAX Error:Attribute name "bloc" associated with an element type "prog_flash" must be followed by the '=' character. at Line:26, col1 in stream

along with a second message box with an error in "com.crt.utils" saying:


Attribute name "bloc" associated with an element type "prog_flash" must be followed by the ' = ' character.
Attribute name "bloc" associated with an element type "prog_flash" must be followed by the ' = ' character.
    <peripheralInstance id="WDT" derived_from="LPC1x_WDT" determined="infoFile"
     location="0x40000000">Watchdog Timer</peripheralInstance>
    <peripheralInstance id="UART1" derived_from="LPC1xxx_UART_MODEM" enable="SYSCTL.PCONP.PCUART1&amp;0x1" determined="infoFile"
     location="0x40010000">UART</peripheralInstance>
    <peripheralInstance id="UART3" derived_from="LPC1xxx_UART" enable="SYSCTL.PCONP.PCAURT3&amp;0x1" determined="infoFile"
     location="0x4009C000">UART</peripheralInstance>
    <peripheralInstance id="UART2" derived_from="LPC1xxx_UART" enable="SYSCTL.PCONP.PCUART2&amp;0x1" determined="infoFile"
     location="0x40098000">UART</peripheralInstance>
    <peripheralInstance id="UART0" derived_from="LPC1xxx_UART" enable="SYSCTL.PCONP.PCUART0&amp;0x1" determined="infoFile"
     location="0x4000C000">UART</peripheralInstance>
    <peripheralInstance id="USBCLKCTL" derived_from="LPC17_USB_CLK_CTL" determined="infoFile"
     location="0x5000CFF4">USB Clock Control (you need to have set PCONP.PCUSB to write these registers)</peripheralInstance>
    <peripheralInstance id="USBINTSTAT" derived_from="LPC17_USBINTST" enable="USBCLKCTL.USBClkCtrl&amp;0x12" determined="infoFile"
     location="0x400FC1C0">USB Interrupt Status  (You need to set PCONP.PCUSB and the USBCLKCTL bits to access this)</peripheralInstance>
    <peripheralInstance id="FLASHACCEL" derived_from="LPC17_FLASHCFG" determined="infoFile"
     location="0x400FC000">Flash Accelerator Configuration register</peripheralInstance>
    <peripheralInstance id="GPIOINTMAP" derived_from="GPIO_INT" determined="infoFile"
     location="0x40028080">GPIO Interrupt Register Map</peripheralInstance>
   </chip>
   <link href="file:///C:/nxp/lpcxpresso_3.5/bin/nxp_lpcxxxx_peripheral.xme" type="simple" show="embed" />
   <processor determined="detected">
    <name rev="r0p0" ID="410FC200" gcc_name="cortex-m3">CM3</name>
    <family>Cortex-M</family>
  <regFormat id="xPSR" gdb_name="cpsr" special="PSR" description="xPSR contains the 3 main status register for the core: APSR, IPSR, and EPSR">
   <fieldFormat id="N_flag" type="toggle" offset="[31]" on="N" off="n" description="The N flag is for negative or less-than"/>
   <fieldFormat id="Z_flag" type="toggle" offset="[30]" on="Z" off="z" description="The Z flag is for zero result"/>
   <fieldFormat id="C_flag" type="toggle" offset="[29]" on="C" off="c" description="The C flag is for carry or borrow"/>
   <fieldFormat id="V_flag" type="toggle" offset="[28]" on="V" off="v" description="The V flag is for overflow"/>
   <fieldFormat id="Q_flag" type="toggle" offset="[27]" on="Q" off="q" description="The Q flag is sticky from SSAT/USAT on saturation"/>
   <fieldFormat id="Thumb_bit" type="toggle" offset="[24]" on="Thumb" off="invalid" description="The Thumb bit must always be set. If 0, it is an invalid state and will fault."/>
   <fieldFormat id="IPSR" type="mixed" offset="[8:0]" enum="Base,,NMI,HardFault,MemManage,BusFault,UsageFault,,,,SVCall,Debug,,PendSV,SysTick" description="The IPSR field contains the current ISR for fault or IRQ, or 0 if at Base (no interrupt)"/>
   <fieldFormat id="ICI_IT_high" type="value" offset="[26:25]" description="The ICI_IT field contains the current/saved state of an IT or interrupted LDM/STM"/>
   <fieldFormat id="ICI_IT_low" type="value" offset="[15:10]" description="The ICI_IT field contains the current/saved state of an IT or interrupted LDM/STM"/>
  </regFormat>
  <regFormat name="Flags" special="PSR_TEXT" description="The Flags text line shows the APSR flag bits along with the T bit if not set"/>
  <regFormat name="EPSR" special="PSR_TEXT" description="The EPSR register contains the current/saved state of an IT or interrupted LDM/STM"/>
  <regFormat name="IPSR" special="PSR_TEXT" description="The IPSR register contains the current ISR for fault or IRQ, or 0 if at Base (no interrupt)"/>
  <regFormat id="PSP" name="PSP" description="PSP (process stack) is currently selected as SP when IPSR=0."/>
  <regFormat id="MSP" name="MSP" description="MSP (main stack, used for interrupts) is currently selected as SP when IPSR=0."/>
  <regFormat id="CONTROL" name="CONTROL" description="CONTROL bits only apply when at base level (IPSR=0) indicates privilege level and which stack is used.">
   <fieldFormat id="Privilege" type="toggle" offset="[0]" off="Privileged" on="User" description="Privilege level for a thread is either privileged (all) or user (limited)"/>
   <fieldFormat id="Stack" type="toggle" offset="[1]" on="PSP" off="MSP" description="Stack indicates which is being used by SP (PSP or MSP)"/>
  </regFormat>
  <regFormat id="BASEPRI" name="BasePri" description="BASEPRI is a mask of interrupts by priority when not 0. No interrupt with a larger or equal priority will activate">
   <fieldFormat id="basepri" type="value" offset="[7:0]" description="BASEPRI is a mask of interrupts by priority when not 0. No interrupt with a larger or equal priority will activate"/>
  </regFormat>
  <regFormat id="PRIMASK" name="PriMask" description="PRIMASK disables all normal interrupts and faults if true">
   <fieldFormat id="primask" type="toggle" offset="[0]" on="enabled" off="disabled" description="PRIMASK disables all normal interrupts and faults if true" />
  </regFormat>
  <regFormat id="FAULTMASK" name="FaultMsk" description="FAULTMASK disables all interrupts and HardFault if true (only NMI and Reset are possible)">
   <fieldFormat id="faultmask" type="toggle" offset="[0]" on="enabled" off="disabled" description="FAULTMASK disables all interrupts and HardFault if true (only NMI and Reset are possible)" />
  </regFormat>
  <regFormat id="CYCLE" name="Cycle" special="CYCLE" description="CYCLE indicates the number of cycles executed since reset"/>
  <regFormat id="CYCLEDELTA" name="CycleDelta" special="CYCLEDELTA" description="CYCLEDELTA indicates the number of cycles executed since the last start"/>
  <regFormat name="CFSR" special="FAULT" description="CFSR is the set of fault bits from the last fault (setting 1 clears)"/>
  <regFormat name="Faults" special="FAULT_TEXT" description="Faults is a list of faults by name (from the CFSR)"/>
  <regFormat name="BFAR" special="FAULT" description="BFAR is the Bus fault precise address, if a precise data bus fault has occurred"/>
  <regFormat name="MFAR" special="FAULT" description="MFAR is the MPU fault address, if an MPU data fault has occurred"/>
  <regFormat name="VECTPC" special="FAULT" description="VECTPC is the PC pre-empted by an event caught by vector-catch"/>
   </processor>
   <emulator type="SWD">
    <vendor>Other</vendor>
    <name>Code Red WinUSB emulator support for Cortex-M3</name>
    <instance index="0">T1S6RGRIA</instance>
    <speed fastestKHz="6000" slowestKHz="50" step="12000/(speed*2)" speed="1" delay="0" determined="test">3000KHz</speed>
   </emulator>
  </info>
  </infoList>


The product info shows:

Product: LPCXpresso
Version: v3.5.0 (201009010753)
Operating system: Windows XP
VM: Java HotSpot(TM) Client VM (32 bit)

License type: FULL

Plugins and versions:
- com.crt.advproject (3.5.0.201009010753)
- com.crt.config (3.5.0.201009010753)
- com.crt.ctrlcenter (3.5.0.201009010753)
- com.crt.debugmgr (3.5.0.201009010753)
- com.crt.docs (3.0.10.201009010753)
- com.crt.lite (3.5.0.201009010753)
- com.crt.lite.brand (3.5.0.201009010753)
- com.crt.quickstart (3.5.0.201009010753)
- com.crt.redtracepreview (3.5.0.201009010753)
- com.crt.trueview (3.5.0.201009010753)
- com.crt.utils (3.5.0.201009010753)
- com.crt.vendor.nxp.a7 (3.5.0.201009010753)
- com.crt.vendor.nxp.lpc11 (3.5.0.201009010753)
- com.crt.vendor.nxp.lpc13 (3.5.0.201009010753)
- com.crt.vendor.nxp.lpc17 (3.5.0.201009010753)
- com.crt.vendor.nxp.lpc29 (3.5.0.201009010753)
- com.crt.vendor.nxp.lpc31 (3.5.0.201009010753)

Product: LPCXpresso
Version: v3.5.0 (201009010753)
Operating system: Windows XP
VM: Java HotSpot(TM) Client VM (32 bit)
About: LPCXpresso:
Version: {0}
Check versions at: http://support.code-red-tech.com/CodeRedWiki/VersionInfo

Outcomes