sanjog47 / makecontroller Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/makecontroller
Automatically exported from code.google.com/p/makecontroller
Functions to implement:
* readByte( )
* Serial_ReadBuffer( )
* Serial_ReadBufferUntil( someChar )
* Serial_FlushBuffer( )
(From Trac issue #2)
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 4:53
at91lib provides some emac code that looks nicer than the freertos supplied
code we're using now
at the core of the network system. Look into getting this integrated.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:13
What steps will reproduce the problem?
1. svn co http://makecontroller.googlecode.com/svn/mchelper/trunk mchelper
->
Fetching external item into 'mchelper/source/qextserialport'
Authentication realm: <https://makecontroller.googlecode.com:443> Google Code
Subversion
Repository
-> asks for username and password -> checkout fails.
This appears to be related to an external added to mchelper/trunk/source/ a few
days ago (r1336)
Original issue reported on code.google.com by [email protected]
on 6 Jul 2009 at 3:19
(From Trac issue #51 by joreg)
my suggestion for the implementation of PadSize is:
{{{
private static int PadSize(int rawSize)
{
return rawSize + 4 - rawSize % 4;
}
}}}
it is then important to ''not'' include the ending \0 in rawSize for
0-terminated strings. this is
simple because for strings you can simply call PadSize(string.length()).
the current implementation somehow leads to problems when sending messages with
3, 7,
11,...parameters as padsize seems to be computed wrong when called with strings
of lengths of
multiples of 4 (in this case the typetag string e.g: ,iii or ,iiiffff)
also a similar change is necessary in InsertString. my suggestion:
{{{
private static int InsertString(string s, byte[] packet, int start, int length)
{
int index = start;
foreach (char c in s)
{
packet[index++] = (byte)c;
if (index == length)
return index;
}
int pad = 4 - (s.Length) % 4;
while (pad-- > 0)
packet[index++] = 0;
return index;
}
}}}
attached is a version of Osc.cs that works for me so far.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:01
Attachments:
New release w/ lots of bug fixes, etc.
Original issue reported on code.google.com by [email protected]
on 31 Aug 2009 at 2:49
As reported by Andy Schmeder -
"In the SLIP decoder, when you encounter a SLIP_ESC character, you have to
check the buffer
position again before you dereference the next character because you might be
at the end of the
buffer. Currently, it crashes with a segmentation fault if a SLIP_ESC is the
last character in the
buffer.
To fix this you have to add a state variable to the object struct to track when
the decoding state
machine is in "escape mode" or not."
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:13
(from Trac issue #76)
There are 3 UARTs on the Make Controller - we should provide a more
comprehensive API to
control all 3 of them. There's some half-baked code in serial2.c for the 2nd
one and nothing for the
3rd one.
Perhaps the serial API should be altered to include an index to which serial
port each call is referring
to.
The 2 uarts are integrated - just need to add the debug port, which is a bit of
a different API
internally.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:07
(from Trac issue #85 by kpratt)
Observed Behavior: '/dipswitch/value' returns 220 for two different settings of
the dipswitch.
Expected Behavior: Should return 192 in one state and 220 in second state.
Steps to recreate:
--Set bits 7 and 8 high on dipswitch
--Read value using /dipswitch/value in mchelper
--Returns 220 as value (128 + 64 should be 192)
--Set bits 3,4,5 high
--Read value using /dipswitch/value in mchelper
--Returns 220 as value (This is correct: 128 + 64 + 16 + 8 + 4 = 220)
Note: The dipswitch contacts on the back of the board read correctly with a
multi-meter: ie bits
set on read 0.0V (connected), and bits set off read 3.258V (not connected),
indicating this may be
a firmware issue, rather than a hardware problem.
Repeatability: 100%
System Details: /system/version Heavy 1.5.1 MCHelper Version 2.2.0 (Windows XP)
I'm not using the dipswitch in any of my projects, so it's not a big issue for
me, but if there is
anything I can do to help debug or track this down for other people, just let
me know.
Cheers-- --Kevin
Neglected to specify that the first tests were all on the USB connection.
Checking again, the
dipswitch values read correctly when accessing the board with an ethernet
connection, but
display the original error when using USB. This behavior is seen on both XP and
OS X 10.5.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:11
(from Trac issue #84 from Hugobox)
The osc commands Freememory (/system/freememory) and Task-Report
(/system/task-report) are
not working until OSC Name is received. Issuing these commands before sending a
name request
(/system/name) will output invalid data.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:03
There is currently no Autosend OSC feature for the digital inputs
(From Trac issue #73)
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 4:54
Building mcbuilder (specifically qextserialport) on linux requires the
include path of HAL which is not set correctly.
It should be set to the output of :
$pkg-config --cflags hal
Once this is done (by brutally modifying the Makefile), mcbuilder will
compile correctly but won't link because we also need to link to HAL. This
is easily corrected by adding -lhal to the mcbuilder.pro (next to -lusb)
Don't know how this can be cleanly added to mcbuilder.pro but this prevents
from building properly mcbuilder on linux with the current state of the
sources.
Comments welcome!
Original issue reported on code.google.com by [email protected]
on 30 Jul 2009 at 1:58
What steps will reproduce the problem?
1.Trying to send a 64 bit packet formatted for simple transmission.
2.
3.
What is the expected output? What do you see instead?
The expected output has a frame type of 0x10
Without changing the XBEE_TX64 value from 0x00 to 0x10 the frame type is
incorrect in the sent packet.
Found under enum XBeeApiId
What version of the product are you using? On what operating system?
XBEE ZIGBEE PRO SERIES 2 operating in API mode. Windows XP
Please provide any additional information below.
Not sure if this is the correct location to post this issue but hopefully
you found it if you are trying to solve it!!!
enum XBeeApiId
{
// XBEE_TX64 = 0x00, /**< An outgoing data packet with a
64-bit address. */ WRONG!
CORRECTION
enum XBeeApiId
{
// XBEE_TX64 = 0x10, /**< An outgoing data packet with a
64-bit address. */ Correct frame type for transmission.
Original issue reported on code.google.com by [email protected]
on 12 Jan 2010 at 4:14
Would be nice to have these around to point a manual installer at.
Original issue reported on code.google.com by [email protected]
on 27 Aug 2009 at 1:33
What steps will reproduce the problem?
1.Calling FastTimer_SetActive(true), in a task crashes controller when hooked
to an interface board.
2.
3.
What is the expected output? What do you see instead?
The same frimware runs on the application board V1, but freezes when run on the
Interface board.
What version of the product are you using? On what operating system?
Have tested this issue with controller V1.1, and firmware 1.51 through 1.62
Please provide any additional information below.
Replacing line 370 of fasttimer.c
AT91C_BASE_AIC->AIC_IECR = mask;
with
AT91C_BASE_AIC->AIC_IECR = 1<<AT91C_ID_TC2;
appears to fix the problem.
Original issue reported on code.google.com by [email protected]
on 30 Aug 2010 at 4:46
It would be nice to be able to route messages around the board via a single
mechanism for different
transports and protocols - generalize the current OSC system to support things
like JSON over
HTTP, etc.
This would entail some kind of centralized entity that can expose resources for
reading/writing and
can describe what's available, and can then delegate transport and protocol
specific issues to
adapters.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:10
Please find the patches against current svn attached.
The mcbuilder patch also corrects a small typo in mcbuilder.pro that
prevented me to update my translation file.
Original issue reported on code.google.com by [email protected]
on 30 Jul 2009 at 2:52
Attachments:
See thread at http://www.makingthings.com/forum/max-msp/575187512#304382269 for
details
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:15
Current doc - http://www.makingthings.com/ref/firmware/html/group___spi.html -
is just not
helpful.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:12
Need to investigate some reports of strange USB jitter in mc.usb for Windows.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:14
Need some better docs about which systems work with which hardware versions,
specifically with
regard to Interface Board / Application Board differences.
Original issue reported on code.google.com by [email protected]
on 22 Jul 2009 at 3:30
There's a float decode, but not encode.
Original issue reported on code.google.com by [email protected]
on 1 Jul 2009 at 5:02
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.