Jump to content

epkboan

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About epkboan

  • Rank
    Newbrie
  1. Hi I'm experiencing problems with my SX48 design and C2Cplus. The generated assembly does not put function calls on the lower half of page memory. This problem has appeard just recently, and the reason why i haven't seen this before is probably that the code has grown. I was previously running ver 5.xx and i was hoping that it would be fixed in later versions, but i just got my license for an 6.xx upgrade and to my frustration the 6.11 had the same fault. Can i make some workaround to get this to work? Here is a packed version of the project that fails: Download project: Regards //Anders C2C-plus 6.1.1e C-compiler Copyright© 1998-99,2000-2005 by Pavel Baranov http://www.picant.com/c2c/c.html support@picant.com (Extended version) Licensed to: Anders Johansson main.c Warning: The function '_putChannelValue' was not called. Code generation skipped Warning: The function '_getChannelValue' was not called. Code generation skipped Warning: The function '_serialReceive' was not called. Code generation skipped Warning: The function '_initiateUart' was not called. Code generation skipped Warning: The function '_SendChar' was not called. Code generation skipped Optimized 201 instruction(s) Finished. Mentor2001.asm(3) Line 3, Warning 51, Pass 1: Obsolete keyword: <TURBO> for this device Mentor2001.asm(1) Line 1, Warning 65, Pass 1: No IRC_CAL directive. Default IRC_SLOW being used Mentor2001.asm(1) Line 1, Warning 66, Pass 1: No FREQ directive. Default 50 MHz being used Mentor2001.asm(836) Line 836, Warning 37, Pass 2: Literal truncated to 8 bits Mentor2001.asm(1184) Line 1184, Error 44, Pass 2: Address is not within lower half of memory page Mentor2001.asm(1210) Line 1210, Error 44, Pass 2: Address is not within lower half of memory page Mentor2001.asm(1235) Line 1235, Error 44, Pass 2: Address is not within lower half of memory page Mentor2001.asm(1259) Line 1259, Error 44, Pass 2: Address is not within lower half of memory page Mentor2001.asm(1293) Line 1293, Error 44, Pass 2: Address is not within lower half of memory page Mentor2001.asm(1476) Line 1476, Error 44, Pass 2: Address is not within lower half of memory page Mentor2001.asm(1494) Line 1494, Error 44, Pass 2: Address is not within lower half of memory page Mentor2001.asm(1512) Line 1512, Error 44, Pass 2: Address is not within lower half of memory page Mentor2001.asm(1540) Line 1540, Error 44, Pass 2: Address is not within lower half of memory page Failed to locate output file 'Mentor2001.hex' Done Failed
  2. Hi, Does anyone know if there is a way to get the DEVICE directives right for the SX28AC target. By default they are set to: DEVICE SX28L, TURBO, STACKX_OPTIONX I however need to set the OSCHS2 directive also. When left out it defaults to OSCRC, and that doesn't work too well with cheramic resonators like Murata 50Mhz. thanks, /Anders
×
×
  • Create New...