Wednesday, May 11, 2011

May 11 Back to Dev Env / Testing

At about this time my new Netbook Disk Drive got a problem.... so started over about 5/28

Again need to document current test environment that works.

After move to CMake (see Jan.29 hg cMake set-up)

Using GNUARM 4.1.1 in C:\GNUARM4_1_1





Testing on Laptop using Lab PC to double-check.

0.  Is the LMS seen right (=right device drivers found)? OK

  • As HW bootable device (=firmware update)
    • to be flashed with forte.bin or lego system or lejos or other firmware options.
  • As eCos device 
    • ready to test 
    • ready to send/ run a 61499 application via forte


1. Flashing the LMS firmware



  • Via Samba v2.10_cdc  - OK
    • notice with v2.10 LMS shows up as a com port and under device driver Ports no longer under Universal Serial Ports
    • Step summary: unlock, don't lock. If worked at all will be seen as eCos device now
  • Via OpenOCD
    • TODO: Need .cfg files . Must edit to match installed files <-- HERE
2. Test

  • Blinky
    • observe  (HERE - NOT Blinking ??? eCos copy? -O2 vs -O0? etc.)
    • check via OpenOCD
      • To test with OpenOCD must be compiled with -O0 not -O2, but this makes the code larger
      • Compiling with -O0 to prepare for OpenOCD testing gets a link problem that it is too large (-O2 links)!!!    CHECK eCos VERSION using
  • AVR
    • via OpenOCD check for:
      • sensor inputs
      • motor status
      • button status
  • IEC61499 Applications
    • 1 LED
    • multiple LEDs
    • sensor input
    • motors on/off












No comments:

Post a Comment