Jump to content

swooshxx

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About swooshxx

  • Rank
    Newbrie
  1. Sorry guys, my bad After a couple of hours of messing with this, it ended up being the external oscillator configuration. Somehow, this got set to "RC Network" instead of "High Speed Crystal". I still don't know how this kicked down the speed by exactly 1000 times (why I didn't check this earlier), but it doesn't matter anymore. Hate to be one of those guys that "blamed the tools" when his stuff didn't work! My apologies to the SourceBoost team, and my congrats on a great product!
  2. I'm developing on a SX48 that I have running at 50 MHz, and have had the CLOCK_FREG pragma set to 50000000. When I used SourceBoost's delay_s and delay_ms routines, they never seemed to return. When I change CLOCK_FREQ to 50000, and time them (using LED flashes), they seem to operate perfectly. This makes me think that, originally, they were just taking 1000 times longer than I expected, and so I would give up before the delay returned. The manual says that the pragma should be in Hz, which should make the original configuration correct. Am I missing something? Side note: I have to set TURBO_MODE to 0 to get removely close, but I fully expect this since the SX48 does not support "compatible/turbo" mode. So I am not considering this pragma to have anything to do with the problem.
  3. When building my code through SourceBoost IDE, the target file is "removed". The build goes fine, and the target file is correctly generated, but the IDE is deleting it immediately after build completes. The funny thing is that if I invoke the assembler seperately (through SourceBoost IDE Build->assemble menu), it works just fine and doesn't delete my target file. According to the SourceBoost log (below) SASM is returning an exit code of 1 even when successful, which is probably the problem. Is there a way to get SourceBoost to ignore the assembler's "exit code" or leave the target file alone? <SourceBoost IDE Log> C2C-plus 5.3e C-compiler Copyright© 1998-99,2000-2004 by Pavel Baranov http://www.picant.com/c2c/c.html support@picant.com (Extended version, trial period day 1) Licensed to: not registered SXTEST.C SXTEST.C(10): Warning: Truncation from 16-bit to 8-bit Optimized 11 instruction(s) Finished. SASM Cross-Assembler for Scenix SX-based microcontrollers Version 1.48 Copyright © 2000 Scenix Inc. All Rights Reserved. 140 lines compiled in 0.00 seconds 25 symbols No error detected by the assembler. C:\PROGRA~1\SOURCE~1\c2c.exe -PSX48BD -SRC -ols -md -O2 -oSXTEST.asm SXTEST.C C:\PROGRA~1\SOURCE~1\SASM.exe /P SX48 SXTEST.asm Exit code was 1. Removing target: SXTEST.hex The system cannot find the file specified. Done Failed </SourceBoost IDE Log>
×
×
  • Create New...