Kenny Millar (@SpiderKenny)
I use a lot of embedded Linux in my controllers and devices.I played with Yocto when Intel released the Edison - but the support for that board, and the lack of...
Oooh that's a tricky one.It depends on a number of factors which will be unique to your product and company, including, but not limited to:1. How many products out...
I think ChatGPT is better described as ML than AI.It basically uses a massive reference of work to produce what it thinks is the correct answer to questions. It...
If I remember correctly... the Rabitt 2000 uses external flash - so just remove the flash chip, read it, and program the other. :-)
Can I ask... do you have a Rabbitt 2000 on a custom PCB, or are you using an RCM2000 "core module"?If the latter, then you can proably read directly from the flash...
Oh wow! Rabbit 2000 - now there'a blast from the past. I did a lot of work on them back in the early 2000's.I'm sure there was a standalone progamming utility,...
You need to change spi_disable; to spi_enable.Also, when reading the values for the button, you should use bit-wise checking not byte-wise. HINT: What happens if...
Just to add to what others are saying..Depeding on the code, and compiler, many of the solutions will result in read-modify-write opeartions. Thus defeating the...
If you were to use a servo in the real-world, you'd probably have some kind of feedback. Either 1.)visual feedback - you watch the thing while you move the servo...
You were so kind to give the OP such a detailed answer! Of course, anyone else applying for the same thing, and a wee knowledge of Google can now see the OPs solution,...
In terms of atual hardware control...You have a static variable to store the state and direction of the actuator, but you don;t use them, just writing to them never...
Oooh - good question - smarter minds than me write compilers!Here's an example:First the C code:And the same line compiled:
Using Fred -= -1; is not as unusual as you might think.The AVR Compiler for ATMEGA chips almost always adds numbers by subtracting their -ve equivalent. Probably...
I'm guessing Windows.Any C/C++ Compiler should be able to access COM Ports, but after about COM4 the naming converntion channges to "\\.\COMx"Here's some well used...
Ahhh.. Arduino IDE -- well IIRC that only produces HEX and not the ASM files, so you'd need to capture the hex and pump it through ObjDump to see the assembly....
Why not encourage your readers to try it all ways - and to compare the ASM listing to see what (if any) the effects of the mask and cast are.It is always good for...
For future code readability and maintenance, every time, use compiled language.Not, by the way Java or C# or any other byte-code language. They are totally unnecessary...
When you can't get the answer to the questions, one should test the results.If you are coding for general release, where the end-user may re-compile the source code,...
Also, the OpenWRT image on these devices is very old (Barrier Breaker, or Chaos Calmer probably). Have you considered the security implications of that?
I use the LinkitSmart and Duo as well as HLK-7688 (very similar modules).The serial port hardware exists and is working, but the external pins are shared with the...
The .map file is a human readable file.The compiler makes human readable files, for er.... humans!The _ prefix to variable names helps you to identify variables.You...
Since we're being politically incorrect... here's my 2p worth.Not just with humour, but with almost everything now, it used to be the opinion of the majority which...
You are right that there are a number of different IR prtocols.None of them are very difficult to decode or emulate, so you are in luck!I'm certain there will already...
For me, deeply embedded would be a small MCU, with firmware, that does a simple task and has no means of being field updatable, and doesn't even have a programming...
Why not just write an app for an iPhone / Android phone?That will have gyro, accelerometer, camera, multi-core processor, debug tools, wifi, bluetooth and a whole...
There's probably a few ways to debug this, and I don't know much about what else is on your board, nor even which make of external flash you are using. (eg is it...
One important thing to remember is that Verilog and VHDL are hardware description languages, not some kind of fancy software. One must try not to think in terms...
If you are in control of the firmware at both ends, why not implement your own protocol?Failing that, you could add "concentrator" devices which will poll a sub-set...
Also, the state of the CLOCK and MOSI lines prior to first transmission can dictate the phase and polarity of the signals - maybe you have an issue there?
I'd like to see the bit sequence on a scope to be sure. SPI is a funny thing, you send one byte, followed by 0 or more dummy bytes, and read the reply while you...
Wait a minute... if a 1 in the PxDIR register makes that pin an output, then P5DIR should be 0x00 not 0x01 - your input pin, is being configured as an output!**EDIT**...
** SEE MY OTHER REPLY, I THINK THAT WILL FIX IT **I've used the MSP430 a little bit in the past, but not much.I have always put the PxSEL configuration before any...
I believe the MPU6050 is I2C, so when the MPU6050 data ready interrupt occurs, you then read the data using I2C but you haven't said what speed you are running the...
I'm not sure what you mean by 'Abstraction concepts' but here are some things I've used, based on my (maybe incorrect) assumption of what you might mean.1. Abstracting...
Thanks again, Tim.I'd have no problem rolling my own design - and might just do that using the MediaTech chipset, as it has the backing of OpenWRT. It's just the...
With mobile tied up with ARM (incl Apple Ax chipset) and PC market share slipping, you'd think they'd want a top slice of the IoT market, and Edison was a great...
That rambutan module might be a good solution. It seems to be pretty powerful, with all the right features. I'll look further into that one. Thanks!
Thanks for the fast reply!Believe it or not, the PI Zero and PI-Zero-W are too big also, and again don't really look professional when embedded into a commercial...
I've just spent a significant amount of money developing products around Intel's Edison module.It is a low cost, small, low power, embedded Linux module with UARTs,...
Try the BC127 from BlueCreation - they also have a range of other modules, if that one doesn't suit.You can find it here.I have used the BC127 extensively in the...
Hi Kevbo - great answer!It's interesting that you mention latch-up. It is still quite common in some devices. (AVR Dragon anyone?) It's a trap for beginners too.I...
You don't say what you are communicating with, but if you are writing the code which runs on all your devices connected to RS485, then you are in control.Sending...
I certainly agree with @fabatera - You should check if something already exists. If nothing exists, then... You should see if there is something similar that you...
Yes I left out cobol, fortan, etc as they don't have much headway in embedded.C# is similar to Java in that it does get cmpiled - but not the code that can run on...
Here's a wee example (Using Xcode on Mac OS X 10.1.14):The following C code generates an executable which is 18,464 bytes on disk.#include <stdio.h>
int main(int...
By overhead I mean things like the extra ram required to track the things that are allocated using 'new' (or even "malloc" in c).
I've used PSoC3, PSoC4 and PSoC5 a lot! They are great things, almost like an FPGA with a hard-core built in. I use them extensively.The PSoC Creator IDE uses GCC...
@jms_nh - Yes oops! My enthusiasm boiled over and I poured out stuff that was a bit off-topic!As for my views on the specifics of C++, I think I'd sum it up like...
Use this form to contact SpiderKenny
Before you can contact a member of the *Related Sites:
- You must be logged in (register here)
- You must confirm you email address