Tuesday, February 15, 2011

Feb.15 Boot blinky, new forte, smaller eCos

Boot blinky not working.
Most obvious (and annoying) question is: 
Why did appear to work last week 
  and does not appear to work with the same forte lms now?
  • Obvious answer would seem to be wrong forte.bin downloaded. 
    •  Backing up to this version did not help. 
  • See OpenOCD notes @ end of previous blog entry
    • having a hard-code location for forte.bin can lead to wrong .bin file
    Obvious tests are 
    • go back to a working version 
      • Summer 2010 with forte0.3 and larger eCos
      • Works - but flashed only with Sam-ba so far 
        • is screen shot needed? Only in case blinky stops working with this version

      • hg_LMS_SummerBkup now a hg repository 
        • committed all files to preserve everything this time  
      • Regression test of hg version works

    Then  switch out one piece at a time
    • smaller eCos for larger eCos 
      • Problems in code not used by LMS forte (abandoned test for now)
    • hg forte 0.4 for forte 0.3
      •  larger eCos for smaller eCos in current (2/16) forte  
        • too large if any FBs included
        • boot blinky works with larger eCos
      •  working boot blinky so try again with smaller eCos
        • eCos version used by DW had files 1 day newer than smaller eCos tested with
        • boot blinky works with larger eCos
    • HERE
    • various lms code changes 
      • Does the lmsmain that only does boot blinky work everywhere?
      • Incrementally add the code changes back into hg
        • initially with old file structure.
        • then new file structure
          • blinky works in new structure 
        • add in avr_cntl
        • add in FBs
        • (only if doesn't work in new structure) move code around with incremental testing
        • renames with incremental testing
    Less obvious tests are:
    • Is creation of forte.bin correct? 
      • since was part of setup before
        • what was the forte file before? 
      • generalized OpenOCD -flash bat file so 
        • input directory and openocd directories are variables
        • and .cfg file is in the same dir as the .bat file
    • New forte code changes
      • in Nov an rv and vr were exchanged, but think this change is in hg version



    No comments:

    Post a Comment