Code Monkey home page Code Monkey logo

dlwisp41's Introduction

This is the DL WISP 4.1 firmware. Please consider using the much newer WISP 5 firmware at github.com/wisp/wisp5.

The original version of this firmware was developed at Intel Research Seattle.

For more information about WISP, refer to the WISP wiki.

The initial import of the Subversion repository into this Github project occurred on September 21, 2010.

See license.txt for license information.

dlwisp41's People

Contributors

ransford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dlwisp41's Issues

74e0d6e do not work in IAR5.3

Hello
74e0d6e do not work in query-ack mode under the condition IAR 5.3. (optimizations low or none)
I use the sense reader to query the wisp . Through oscilloscope, I found that wisp replied the reader's query command with RN 16,but did not reply the ack command with correct handle.
Then I changed the ack judgement code in case STATE_REPLY:
" if ( bits == NUM_ACK_BITS && ( ( cmd[0] & 0xC0 ) == 0x40 ) )"
to
"if ( bits >=8 && ( ( cmd[0] & 0xC0 ) == 0x40 ) )".
And changed the ack function:
"if ( NUM_ACK_BITS == 20 )
while ( TAR <90 );
else
while ( TAR < 400 ); "
to
"if ( NUM_ACK_BITS == 20 )
while ( TAR <800);
else
while ( TAR < 400 ); "
After changing
the reader can query the wisp very well.

Inline assembly broken in IAR 5.5x

For the 5.5x and later versions of their compiler, IAR changed the rules for inline assembly such that you can no longer do things like this:

asm("foobar:");
asm("MOV R1, R2");
asm("JMP foobar");

You get an error message like

unknown symbol in inline assembly

The fix will be to tidy up the parts of the WISP firmware that have asm statements referencing labels created in other asm statements. Where possible, collapse runs of asm statements into one. The above would become:

    asm volatile ("foobar\n\t" // oh yeah, and use volatile
                  "MOV R1, R2\n\t"
                  "JMP foobar");

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.