Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - Xykon

46
General discussion / Free PCB Coupon but stock almost none
I don't think they'll ever restore the stock. The codes are for extra PCBs on current projects. If DP is doing a new project and order 5 boards but only use 2, then the other 3 go into the drawer. If you want to build any of the projects that have no boards left in the drawer then you'll have to get the board made yourself.


Sent from my iPad using Tapatalk HD
47
Project logs / GSM/GPRS micro DevBoard
I love the board and would love to buy one when it becomes available.

I'm wondering two things right now... is there a, preferably pin compatible, 3G or 4G LTE module available?

Is there any way to see the data exchange between the module and cell tower? I have my own BTS running openbsc but this only gives me the abis protocol.


Sent from my iPad using Tapatalk HD
48
General discussion / iCP01 PICkit2 clone programmer
Hello,

I've been reading the following on the Wiki: http://dangerousprototypes.com/docs/PIC ... ound_a_PIC

Quote
iCP01 (PICkit 2 clone) – a yellow heatshrink wrapped usb stick that destroys PICs and also itself and also its faulty ZIF socket adaptor. It appears to have NO Vdd control circuit (5V always on!) and therefore cannot reprogram chips that need the Vpp first method. Also low Vpp is reported. Source: Microchip Forums thread Reasons not to buy a...!).

I have the updated iCP02 which has a switch to toggle between 3.3V and 5V. I removed the heatshrink to reflash the chip with the official Pickit2 firmware from Microchip and the thing has been programming every single PIC I've been using so far. It works very well with the BPv3 and BPv4 as well as standalone PIC18F2550/4550 chips.

While I cannot comment on the original iCP01 quoted above, I can confirm that the iCP02 works very well and makes for a cheap programmer for those who want or need to re-program the bootloader on the BP or IR toy. I also have the ZIF modules for PIC and EEPROM chips and they have been working fine on everything I have tried so far.

I did get a Pickit3 clone eventually but I'm still using the iCP02 frequently for a number of projects. There might be chaper alternatives available but I ordered a number of other things from the company and am very happy with the quality. I especially love their PIC18F2550 based usb sticks (iCP12).

I have no connection whatsoever with that company other than being a happy customer which is why I'm not linking to their website directly.
49
Bus Pirate Support / Re: BPv4 with Windows 8 64bit
Well I finally managed to get the BPv4 working with it's usual PID (0xFB00) but not without generating my own certificate. The steps are best explained here but you need to have Visual Studio 2012 (at least PRO, the Express Editions appear not to be sufficient) and the WDK 8.0 (Windows Driver Kit) installed.

I also did not buy an official certificate but used a personal test certificate. I still got a warning about installing an unsigned driver in the end but the BP is working.

If there is any interest I can try to put together a driver/certificate package for those who just want to get their BPv4 to work and don't want to bother with the VS2012/WDK download/installation.
50
Bus Pirate Support / Re: BPv4 with Windows 8 64bit
After spending 2+ hours trying to self sign the BPv4 inf file, I finally tried another approach...

I simply changed the BPv4 PID to 0x000A (in prj_usb_config.h) and used the original Microchip inf/cat files from C:Microchip Solutions v2012-10-15USBDevice - CDC - Basic Demoinf

The bus pirate now simply shows up as a USB Serial port but at least it works...

I'll let you know if I figure out how to use the BPv4 with the custom PID.
51
Bus Pirate Support / BPv4 with Windows 8 64bit
Hello,

Has anyone yet found a solution for running the BPv4 with Windows 8 64bit? When I try to install it I get a message saying something about a missing or incorrect hash value (I have a German version of Win8 so I can't quote the exact error).

I tried searching the forum but it didn't allow me to use Windows 8 as a search term and win8 didn't find anything in the BP subforums.

I got most of my hw dev tools running on Windows 8 now and I'd hate to have to keep using Windows 7 just because of the missing bus pirate v4 support...

Thanks in advance for any help...
52
Project logs / Re: EZPsoC3 free PCB build
Got back home earlier than expected, and went right away to soldering the new chip. Everything works perfect and I even got the first USB example running. PSoCs are just awesome and I suggest everyone who can to take a look at it.

In difficulty I would rate it at third place, first being .net micro framework and second being Arduino.

Below is the picture of the final board with the correct USB capable PSoC3. I tested the USB-CDC example and got it running within a few minutes. Compared to the efforts I put into getting the same thing going on a PIC18F2550 it's really extremely easy.

As for the resonator I opted for the 20Mhz version but since it's got a tolerance of +/- 0.5% it's not usable for USB. It's probably worthless, I think the internal  clock actually has a higher precision anyways.

Only question left at this time, do I need to do anything special to get my next code for the free pcb drawer? :)

[attachment=0]
53
Project logs / Re: PSoC3 Custom Board
Quote
Make a small module-ish thing,which has no power or USB connection,i.e just the chip and its caps,while the rest need to be connected offboard,so the device can be in a totally custom setting.This will be a 'use in the field' version of the device.

I think I would be very much interested in such a version and it would give me a way to use my two CY8C3866PVI-070 which don't have USB anyways but CAN instead (I didn't notice that when I first ordered the chips for your EzPsoC3 board. Maybe we could even make a deal, you send me one of the boards when ready and I'll send you one of my CY8C3866PVI-070 in return?
I would work on the board myself but I have no experience with Eagle or PCB design whatsoever and don't really have the time to get into it. PM me if you are interested so we can work something out...
54
Project logs / Re: EZPsoC3 free PCB build
I received the new chip, but due to an emergency at work I won't be able to try it out before the weekend as I have to make a small travel for the rest of the week.

I've been thinking what to do with the two CY8C3866PVI-070 I have as spare now (I ordered two to have a spare in case of soldering problems). I got the idea to design a new board that contains the 070 along with an FX2LP to use as onboard programmer and possibly more powerful USB interface to make up for the missing USB capabilities on the 070. If the FX2LP would at least be able to act as a simply uart2usb bridge for the 070 then it could work similar to an arduino.
I was even thinking to arrange headers in a way to make it compatible with Arduino shields to create a sort of CyDuino...If you guys have any other ideas of what to do with these chips let me know...

I might consider giving one away for free if someone comes up with a really good idea!
55
Project logs / Re: EZPsoC3 free PCB build
Here is another PIC of the EzPsoC3 hooked up to the LCD of my old self-made PSoC1 test board. It's amazing how easy it was to get this hooked up. I also got UART to work just like in Chapter 4 of the previously linked tutorial. Also attached is the finished project.

[attachment=1]

[attachment=0]
56
Project logs / Re: EZPsoC3 free PCB build
For those who might be interested, I attached the first "Project", blinking the bootloader led via a PWM timer. If you connect P1/4 to Vcc, it will toggle at 1/10 of a second, else it toggles every second.

I followed the directions in the pdf file found here: http://www.cypress.com/?rID=43123 It's an excellent resource for getting to know the PSoC3 family and I suggest everyone interested to look through it.

I will upload more projects once I got them to work. For now I'm using the 3866PVA-070 but you can easily change it by right clicking on Project/Device Selector and choose a different chip and it should work just as well.

As for the USB capable chip, I ordered it this morning and current data show it should arrive Monday morning before noon. That's amazing given that Cypress does not charge shipping cost and the chip price is comparable to mouser.

I did order a dev board from PicCircuit.com a while back, equipped it with a PIC18F2550, but had a very difficult time getting started because I couldn't find very good tutorials. I wanted to get started right away using MPLAB-X and the XC8 compiler but most tutorials I found were for the older C18 compiler, HI-Tech compilers or for older PIC16s and weren't useful at all. The tutorials for the Cypress PSoC3 are a lot better, the tools are much more advanced and the chips have many features you don't find in any PIC. Sure the PICs are a lot cheaper than the PSoCs but if you only do hobby stuff and don't have to think about mass production I think PSoCs are a far better choice than any PIC platform. Unlike with my PIC experience where I got fed up and frustrated frequently I'm really excited to delve deeper into the chip's capabilities...

[attachment=0]
57
Project logs / Re: EZPsoC3 free PCB build
Thanks kmmankad for the support and putting the board together.

I just found out though that the chip I chose doesn't support USB... I didn't realize when I looked through the list of chips that there are versions with and without... I bought the CY8C3866PVI-070 while I should have bought the  CY8C3866PVI-021 instead... I ordered the new chip directly from Cypress who offers free shipping even for a $19 chip via FedEx priority.

I can still get to know the chip without problems for now since the USB lines are simply not connected. Thankfully I have a hot air station so replacing the chip should be simply enough even though now I have all the headers and the 32khz crystal in the way.

@kmmankad I've seen that your newer design comes with a 24MHZ crystal. I checked for a 24MHZ resonator but they aren't available at Mouser as a through hole component. What do you think is better, using the 8MHZ Resonator or the 20MHZ one? On the clock setting page in PsoC Creator you can enter any value so I would assume it doesn't really matter but maybe you have more insight into it?
58
Project logs / EZPsoC3 free PCB build
Hello,

I just finished building the EzPsoC3 with the board from the free PCB drawer. The picture attached shows the completed board connected to an EZ-USB FX2LP USB 2.0 board that I use for programming the chip. Prior to building, I thankfully got some great help in this topic without which I might not have been able to build to board.

The only thing I have not yet soldered is the resonator. I bought an 8MHZ and 20MHZ resonator but I'm not yet sure which one will be better to use. The chip works fine without though, the internal clock is much more reliable than the one on a PIC so even USB should work fine without. I'm now going through the examples posted on the Cypress website to get to know the chip. I already managed to blink the bootloader led so I know the chip is working fine.

I'll post an update once I got something more intersting programmed.

Thanks IAN and Dangerous Prototypes for the free PCB!

Edit2: I now got the attachment to work...

[attachment=0]
59
Project development, ideas, and suggestions / Re: Suitable chip/adapter for the EZ-PSoC3 board?
Just a small update, I received the PCB today :) and made the order at mouser for the chip and components I didn't already have available. Once I put the board together and verified that all the components do work correctly I will post an update in the projects log and will also set up a mouser shopping cart so others interested in the project can make their order with just a few mouse clicks.

I managed to get the MiniProg3 firmware code stored in the EEPROM of the EZ-USB board I got from ebay, the command to convert the hex file is: Hex2bix.exe -M 0x8000 -i -f 0xc2 ftk_3_simfw.hex
It took a while to figure out but now the board comes up as a MiniProg3 right away when I connect it.

Thanks to the "EZ-USB-FX1 based PSOC 3/5 programmer" project I have a reference of how to connect the EZ-USB board to the EzPsoC3 programming header to get the bootloader programmed, so if all goes well from now on I should have the board ready to run by the end of next week. My first test will be to connect my enc28j60 ethernet module which is what kmmankad is currently working on.
60
Project development, ideas, and suggestions / Re: Suitable chip/adapter for the EZ-PSoC3 board?
I tried to upload the correct schematics for this project but with three different uploads I always get this error message: Error creating thumbnail: Invalid thumbnail parameters

The file I uploaded is: http://dangerousprototypes.com/docs/Fil ... C3-sch.png

I have no idea what's wrong. I was thinking about using a different image format but it seems all other files on the Projects pages are also .png format. Maybe I need to specify something during upload to have the image show up correctly?

It took me a while to find the correct Eagle files for this project here on the forum so I think it would be a good idea if it would show up correctly in the Project page as well. I know this project didn't generate too much attention (I guess it's why these pcbs are still available in the drawer) so putting some more info onto the project page might be a good start to give this board more attention. From my experience with the PSoC1 series and the great Software and Support from Cypress I think this could be a really interesting project.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.02182451032session_write_close ( )...(null):0
20.02242582656ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.02242583432Database_MySQL->query( ).../DatabaseHandler.php:119
40.07152722192Database_MySQL->error( ).../Db-mysql.class.php:273