Home
Extreme Disti Makeover | Print |
Blog - Misc
Written by Akiba   
Friday, 10 October 2008

Hmmm…it feels like its been a long time since my last post. Actually, in the blog-world, one week is an eternity.
Anyways, I've been taking a small breather from the Zigbee stack after the release last week so I could catch up on some of the work projects that I needed to finish. It was like my life was put on hold for about three weeks so there was a lot of things that needed to be done.

I mentioned before that I took on a second part-time job. Its pretty nice because now, my take-home pay is approximately the same as it was when I was working full time for one company. However I still have the freedom to work on the stack and can still control my own schedule. Ahhh…life is good…

The second company that I'm helping out is a semiconductor distributor. Originally, they needed me to help answer technical questions for their product lines and also communicate with their suppliers in English (it’s a Japanese company). However since that job description is pretty boring, I've expanded the scope to something more interesting.

Having been on the semiconductor supplier side for so long, I've had the chance to see what its like from the vendor side and how they view distributors. I've also had the chance to meet many distributors and see their strengths and weaknesses. In my opinion, the biggest problem with distributors is that they're ill-equipped to handle the semiconductor environment of today.

The semiconductor world right now is much different than it was just a few years ago. Before, it was fine to just hawk chips. Most of the issues that came up were hardware related, and software issues were the customer's problem. The hardware issues could easily be handled by the semiconductor vendors.

Unfortunately today, it is completely different. Sometime within the past ten years or so, the focus went from hardware to software. MCU-based SOCs permeated the industry and software availability started to outweigh hardware performance as the main priority. Also, chip prices dropped like crazy as everyone and their grandma started making ARM-based SOCs. Hell, even the 8-bit microcontrollers started getting everything and the kitchen sink thrown into them; ie: an AVR AT90USB1287 8-bit micro has 128 kB flash, ADC, multiplier, multiple UARTs, I2C, SPI, USB host, USB device, multiple timers, comparators, etc. Can you imagine the amount of software needed just to fully utilize the chip?

SoCs (including 8-bit microcontrollers with a shitload of peripherals) are basically an MCU IP core surrounded by a bunch of peripheral IP cores. From an IC design point of view, as long as you have the IP available to you, you can crank out SoCs like pancakes…and that is what most of the companies are doing. That’s also why you see the chip prices dropping like crazy. As an example, one of the companies I worked for previously sold an ARM7 microcontoller with a high speed USB device interface and a 3Gbps SATA interface for less than $1. And that was over two years ago.

So the point is that with margins dropping and software requirements going through the roof, semiconductor suppliers are unable to handle the amount of software support required for their products. You can easily see this by emailing support at Atmel/Microchip/Freescale/(name your supplier) and seeing the response time if in fact you do get a response. Support is rationed so that Tier-1 customers get the highest priority (the volume customers, ie: 50-100k/month+), Tier-2 customers get whatever is left over (ie: 10-50k/month+), and then finally, Tier-3 (low volume) customers are left to fight over the scraps.  

It's hard to blame the semiconductor vendors (even though I always enjoy doing it), since their margins are dropping like rocks and it's expensive to hire a bunch of software engineers. So increasingly, semiconductor suppliers are relying on distributors to provide technical expertise and support to their customers. However most distributors aren't set up to handle technical issues. I rarely see a distributor that even has a lab, and if they do, its usually some old-ass analog scope and a soldering iron.

So when the disti started talking to me about helping out with some of their technical issues (ie: support), I started to think that it might be interesting to see if its possible to turn a sales-oriented disti into an engineer's dream distributor. Most distis are happy just to find a guy that's heard of programming since a disti is usually the last choice for any decent software or hardware engineer to work for. The stigma attached to doing customer support is like a slap in the face for most engineers that are serious about their work. So this one is getting a little more than they expected.

I've decided to call this project "Extreme Disti Makeover". There are three parts to the plan:

  • Create a reference hardware platform. The platform needs to be modular so the center of the platform is an MCU board. The MCU board will have standardized connectors with a fixed pinout for peripheral boards. That way, the peripheral boards that are made can be interchangeable with different MCU boards. Whenever possible, the chips will be based on the disti's line card.
  • Create a software library that’s ported to the reference platform. The software library will consist of open source software for things like I2C, SPI, timers, UARTs, PWM as well as communication stacks such as a USB device, TCP/IP, and of course Zigbee stacks. Almost all of the software is already available as open source (except for the Zigbee stack which is still being developed :) ).
  • Training the sales people. I'm going to do a weekly 2-hour training for the sales guys that consists of 1 hour of basic design principles for hardware and software, followed by 1 hour of actual implementation on the reference platform. Of course, it will be a pretty basic level, but the main point is to get the guys to actually use the products they are selling. This is unheard of since most people at distis have never even touched the products they are selling. I'm not sure how this will go, but it will be interesting to see if its possible to turn the sales guys into techies.


Basically, this is kind of an experiment, and will probably end up being a lot of work, but its kind of a refreshing break from Zigbee once in a while. It will also be interesting to see if I can pull something like this off. Here's a couple of pics of the first boards for the reference platform. I'll probably be adding a few boards a month to this platform as well as some software (in between stack development of course Laughing)

 
Speaking of getting hooked up... | Print |
Blog - Zigbee
Written by Akiba   
Friday, 03 October 2008

Speaking of getting hooked up, Dave Blissett at Telegesis just sent me one of their Zigbee Pro USB dongles. It's quite nice and you can use it to issue commands to your network, check out the neighbors, join a network, etc. Unfortunately, it doesn't have any other Zigbee Pro friends to play with, but when I start retrofitting the stack for Zigbee Pro (sometime next year I hope), it's going to be very useful. Here are some pics of the dongle:

 
DevJournal - Hooked Up, Baby... | Print |
Blog - FreakZ
Written by Akiba   
Friday, 03 October 2008

The guys at Atmel came through for me and hooked me up with 2 sets of their AT86RF231 platforms. The timing is perfect because now that the release is finished, the next objective is to port the stack to hardware and get it working. Since Atmel is the only major 802.15.4 chip supplier to hook me up, looks like they'll be the first platform that the stack gets ported to.

The setup is pretty sweet. Two of the base boards have USB connectivity and you can even load the Daintree Basic Edition sniffer (free download from Atmel) on to it. That's good because I've been using a Microchip Zena sniffer (circa 2005) and the software on it is getting a bit aged. Especially since the Zigbee spec went through two revisions since I've had it. 

The other two boards are the same boards that Atmel gives out for their AVR LCD evaluations and development. It has a 128x64 RGB graphical LCD and you can download the software for the graphics widgets from their site. Looks like I'm gonna be havin' some fun. 

The radios are the AT86RF231 boards which aren't available with the low-cost Raven kits. These boards have the AES security engine and the antenna diversity feature so its gonna be interesting to check them out. Especially for the security, that will be the next portion of the stack that I'll be working on. 

Thanks, Ingolf! Let's go clubbing next time you're in Tokyo.

Here are some pictures of the dev kit that I'll be working on for now:

 
My Page Rank | Print |
Blog - Misc
Written by Akiba   
Friday, 03 October 2008
Wow, my site's front page hit a Google PageRank of 3/10. It was only a couple of months ago that I didn't even have a page rank. It just goes to show you that hard work and perseverance makes you socially inept. Wait a second, that didn't come out right. Anyways, its cool that I have a page rank now.
 
Please welcome a new addition to my family... | Print |
Blog - Misc
Written by Akiba   
Tuesday, 30 September 2008

Well, well, well...I guess I forgot to mention that the stork visited me yesterday and brought me a new addition to my family...of test equipment.

 

Yep...you guessed it. Bought me a used network analyzer. It's an HP 8753D 3kHz-3GHz vector network analyzer with a 2-port S-parameter test set.

I decided to buy it three weeks ago on eBay because the price was really good ($6k). Normally, 8753C's and 8753D's go for about $8-10k and I figured I would need one since I'm going to be designing a bunch of RF hardware soon. I didn't really mention it though because it was kind of a risk. Spending $6k on eBay and wiring money to a guy in the countryside of France isn't exactly a run-of-the-mill transaction for me. If I got burned on this deal, it would have been pretty embarrassing. Lucky for me, the guy was really cool and walked me through the transaction. The packing was good, and the analyzer is up and running and passed all the self tests. 

Did I mention I also bought a 50 ohm calibration kit? *cackle*

I also got word from Chris at Accurate CNC that my PCB mill will be shipped this week. There was a delay because its custom built and one of the parts got delayed. 

Yep, looks like I won't be getting a car anytime soon...but along with my scope, logic analyzer, and other equipment, I'm starting to feel like my home lab is kicking some serious ass!

 
Some Thoughts and Reflections On This Project | Print |
Blog - FreakZ
Written by Akiba   
Tuesday, 30 September 2008

Wow. That had to be one of the most difficult experiences of my life. It  felt like I was passing  a kidney stone. Painful, anxious, but afterwards gratification and relief. After arguing with myself last month, I'm glad that I finally got up the balls to do a release. That was the first time I've done a full release by myself and I have to say that release managers have it pretty tough. At least for the crunch time before a release goes out.

Well, its probably best to reflect a bit on the stack development. First of all, I grossly underestimated the amount of work that a full Zigbee stack would take. When I first started, I had thought that I would be able to finish it after about six months. Unfortunately, that's not the case. I'm going on my seventh month working on it, and there are still a lot of things that need to be implemented.

One of the things I didn't take into account was that the learning curve for Zigbee was much steeper than I had thought. Although I had some minor experience with the spec, a full blown stack development requires intimate knowledge of every detail. I found out that it takes a long time to be intimate with a 600 page spec.

I have to admit that a good portion of my time was also taken up re-writing and re-organizing my code and architecture. As I learned more about each layer, I found that my initial architectural assumptions were incorrect. That forced me to re-write a lot of code and revise the architecture many times, especially on the NWK and application layers.

I think that the code right now is on the right track in terms of architecture. Now that I've been through each layer and experimented with different architectures, I'm pretty sure that the one I have right now is probably close to the one that I'm going to stick with.

Read more...
 
DevJournal - RELEASE! v0.5 | Print |
Blog - FreakZ
Written by Akiba   
Tuesday, 30 September 2008

Wow. I was finally able to kick that release to the curb. I'll post more details later. I'm pooped...Here is the download info, docs, and some pics...

The release can be found here:

http://sourceforge.net/projects/freakz/

Here's an online version of the documentation:

Docs Link

Here are some teaser pics:

 

 

 
DevJournal - Down to the Wire | Print |
Blog - FreakZ
Written by Akiba   
Monday, 29 September 2008

I'm cutting it down to the wire. I have most of the documentation finished and just went through a last linting and testing of the code. I just did some simple tests to make sure that I didn't break anything. I'll be posting the documentation tomorrow and also the code, unless I somehow completely forgot all my Subversion commands.

I've recently been mesmerized by all the stuff happening in the US. I'm still a proud American and hope that the US pulls through the whole financial mess.

Good Luck US!!!

 
DevJournal - Last Minute Touches | Print |
Blog - FreakZ
Written by Akiba   
Saturday, 27 September 2008

Well, I'm almost finished with documenting the stack. Thank God for Doxygen. I can take care of commenting the code and creating documentation at the same time. Tomorrow will probably be the last chance that I'll have to write documentation for the v0.5 release. I'm going to need to write some prose about how to build the code, operate the simulator, and some general words on the architecture. After that, I need to do a final lint, testing, possibly some last minute cleanup, and then I can upload it on to the sourceforge server. I'm planning on doing it on the last day of this month since I'll probably be cutting it pretty close. Already most of Monday is out for me since I have a meeting I need to attend for work. The upload will happen on Tuesday which means that I'm going to need to bust some ass this Saturday and Sunday to finish things up. *sigh*

I'll probably be going into a quiet period for a couple of days after this is over as I try and catch up on the rest of my life. Other than that, gonna hit up some wine and drink myself to sleep. It is Friday night ya know...

 
Emasculated | Print |
Blog - Misc
Written by Akiba   
Friday, 26 September 2008
Man, I was hoping to finish up some more documentation tonight, but I ended up watching Sex and the City...the movie...by myself...At least I would have had an excuse if I went with my wife. How's that for procrastinative stress. Its like my penis just fell off. Well, at least I have to say that Carrie Bradshaw is looking good for a 40-year old. Actually, I just checked her out on Wikipedia and Sarah Jessica Parker (real name) is 43 so she looks even better.

Maybe I should just go to bed. That way, I can man up tomorrow and fill in the comments for the data structure fields...Hmmm...that doesn't sound right either.
 
DevJournal - Sales Calls...the Bane of an Engineer Facing a Deadline | Print |
Blog - FreakZ
Written by Akiba   
Tuesday, 23 September 2008

The blog posts are getting a bit sparse as I'm trying to prep for the release. I lost almost a full week accompanying people from the main office of my part time job on customer sales visits. Talk about torture...an impending software deadline and I can only sit and listen to PPT presentations. I have some colorful words I want to say about sales calls, PPT presentations, mandatory face-to-face meetings, and old fashioned companies, but right now, I'm exhausted from traveling all around Tokyo hawking chips.

Regarding the release status, I've already started on the documentation, but it will be a bit lean when the code is released. I might have to beef it up later, since my drop dead release date is the end of this month. On that day, the code goes out no matter what condition it's in. I'll try to post another update before the release...

 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Results 1 - 11 of 152

Login






Lost Password?
No account yet? Register

Blog Categories

Zigbee
FreakZ
Embedded
News
Misc

Article Categories

Zigbee
Embedded
Misc