http://www.edaboard.com/thread227388.html

Hi, i have designed a 48 pin universal programmer but need help finishing it off, is anyone up for the challange?

Programmer info:
LPC2388 ARM7TDMI CPU with USB
2XDC/DC Converters
48 universal pin drivers which can be either GND/VCC/VPP/HI,LO/CLOCK/INPUT
Smart card interface
ISP socket which is used for JTag for FPGA's/CPLD/ARMs Anything JTag... /serial programming devices mounted on a board Pic's/AVR's etc/In car Dashboards/ECU's etc
USB Interface
Ethernet Interface
SD card
LCD
Serial interface
Buttons/switches lights etc
JTAG For ARM
JTAG for FPGA
Soft JTAG for FPGA

This is really a massive project and has taken me a while to get this far, i think i need help to finish it.

The software is written in delphi:

USB Uses CDC So can be used on any PC.

So far i can read and write to all pins fine, program the FPGA, etc

There are three parts to the programmer.
Firmware:
Written in C using Keil compiler.
FPGA:
Designs are done in Altium.
PC Software:
Written in Delphi 7

I am very good with the firmware, and not bad with the FPGA, the PC software is not good for me...

I want the software, fpga designs and the firmware to be OPEN SOURCE, this was the idea behind it, as you cannot by a good true universal programmer for less than around £500 i thought it would be a good project to undertake, with the added benefit of a smart card programmer and ISP it should be a good device, and hoping to ship it for less than £100

So if you are up for a challange let me know......

Many Thanks....
Picman....

Programmer Schematics....

The PSU for VCC and VPP need changing does not work too well, but i think it would be good to only need the 5V from the USB to power the programmer, so DC/DC converters are needed to get VPP.

The FPGA is key to the programmers functionallity, even if you just use it to route pins to the micro so using it as a pin matrix. but you can do a lot more with it there, as it is, it will program most programmable devices on the market.
I am fine with coding the verilog for the fpga anyway..

What about replacing fpga with cpld? You can get those in packages like qfp44. This would somewhat reduce difficulty of assemblying it at home.

Unfortunately there are 48 IO's from the ziff so it needs a larger package than the 44 pin, i have assembled 2 of these at home an both work fine, just takes a little time. also the ARM is 144 pins and most pins are used.
Anyway the basic idea will be to sell the boards already made, but open source the software, but i do see where you are comming from for the development.
Having 200K gates also opens up a lot more potential for doing some clever things in the fpga, and freeing the CPU from a lot of tasks. For instance a logic analyzer.....

If idea is to sell the board already made than large footprint FPGA is fine.

A logic analyzer is also a nice idea, but for it to have good parameters you need an external RAM chip, because the bandwidth of USB is insufficient for analyzing high speed signals.

I think that it would be nice if your device was able to switch between different compatibility mode. I mean that you could set it up to work like pickit 2 and be able to use it from MPLAB. Or set it up to work like STK500 and be able to use it from AVR studio. That would increase functionality creatly, because most people find it far more convenient to be able to operate programmer/debugger straight from IDE.

I realize that it would need enormous amount of coding and reverse engineering, but having a universal programmer with IDE compatibility would be very nice.

What would you use the IDE for? If its programming the ARM then there is already an IDE which i use called KEIL.

No, I mean the IDE which u will be using to develop software that you will later download into some device using this programmer. Or maybe I got the purpose of this device wrong?

To achieve 48 pin drive all, the fpga haved more than 48 io's and Dynamic reconfiguration
Firmware must be prepared to understand the hardware architecture, and sometimes have to modify the hardware design to suit the software development
I do not know the hardware architecture in the case, there is no other thing that programmers can do
If you want to do open source, then this is a must. If you do the programmer development platform is to provide a schematic
my development :
windows 2003
keil 8.16a
visual c++ 6

Yes a Schematic will be provided, also the interface from the ARM to the FPGA is fixed, so its always the same no matter what device you program.

The purpose of the Programmers is a IC device programmer, like Datamans Dataman 48UXP Universal Programmer
But it can do more because it has a smart card slot, and an ISP plug and also can use ethernet and usb and serial, plus loads more....
It can also be used as a JTAG programmer/debugger etc....

the Programmer‘s vccx and vpp do what needs to be improved
and head3 ,How to use it? do Hand?

Pullups/pulldowns work ok, VCC and VPP need to be redesigned, im not happy with them at the moment.

Whats Head3?

The power supply for vcc and vpp will be controlled by the ARM so we need some digital 3v3 way of changing the voltages on vcc and vpp.

Pullups/pulldowns work ok, VCC and VPP need to be redesigned, im not happy with them at the moment.

Whats Head3?

The power supply for vcc and vpp will be controlled by the ARM so we need some digital 3v3 way of changing the voltages on vcc and vpp.

Ok what voltages can you get on vcc and vpp, what sort of range.. 0..25V and 0..5V???
And what Current?

Do you think it would work fine from 5V from USB?
If so your idea is good...

On the LPC2388 the ARM CPU we only have one DAC, so we would need an external DAC IC for your PSU to work.

Also in you PSU design what about pin 4 on the MC34063? I thought pin 4 was GND and pin 6 was VCC?????

A:
1.
vcp‘s range 1.8~6.8v
vpp’s range 1.8~25V
one step 0.1v
2.By sampling the voltage difference across the resistor to convert current
Programmable reference source and a comparator for protection
Of course, access to and control of current through the operation
3.34063 
Use the datasheet of the design
I use the package who have‘nt 6 pin and 4 pin
pin4 gnd
pin6 vcc

Q?Pullups / pulldowns 
How it’s work
What is the function in the end

thanks

Pullups are uses as a logic 1.
So to write a 1 to the device being programmed you set the IO pin on the FPGA as HIZ or input, this will allow the Weak pullups to pull the pin to VCCX so putting a logic 1 on the pin.

The point of this is that a logic 1 is always the same as VCCX so if you want to program for example a 2.5V device then as long as VCCX is at 2.5V then the logic 1 will be the same voltage.

If we used the FPGA pin to output a 1 then this would be 3.3v, not good for a 2.5V or 5V or 1.8V device...

Do you understand now?

vcp‘s range 1.8~6.8v
vpp’s range 1.8~25V
one step 0.1v

This sound fine, how many steps has the DAC got?
I think an 8 bit DAC would do fine with 256 steps, 0.2v steps..

I don't think that any IC is that fussy that it needs a resolution better than 0.2V for programming.

So i have found some DACs from Maxim MAX550B that are 8 bit and use a simple SPI serial interface. 8 pin and are 2.5V to 5.5V single supply.
They are also very cheap...

So the new diagram for the PSU would be...

thanks
my programmer‘s vcp is the target chip power supply
Programmable control, can achieve any voltage 1.8 to 6.5v

Q?
Test pin is bad how to achieve it

Test pin is bad how to achieve it ? I don't understand...

Test pin contact is good

Whether short or damage the chip
The chip is inserted upside
These are supported by professional programmers
There voltage rise-time control or increased steepness
??????
I think and think, but did not know there are many

New Schematics

programmer.pdf

Changes:
DAC controlled PSU for VCCX
DAC controlled PSU for VPP
Ethernet and SDCARD removed.
Smartcard Removed.
LEDs added for status on ARM
LEDs added for status on FPGA.

This should make the programmer cheaper but still function the same.

Take a look at the schematics and tell me what you think.

Programmer supports sd card run offline is a good choice
Dot-lcd display would be better
My idea, please refer to

BeeHive204  ISP connector

As ISP connector is used 20 pins connector 2-1634689-0 from TE connectivity or other compatible connector.

ISP connector

Open Source Universal 48 pin programmer design的更多相关文章

  1. BeeProg2C Extremely fast universal USB interfaced programmer

    http://www.elnec.com/products/universal-programmers/beeprog2c/ FPGA based totally reconfigurable 48  ...

  2. SmartProg2 Universal, ISP capable programmer

    http://www.elnec.com/products/universal-programmers/smartprog2/ 40 powerful TTL pindrivers provide H ...

  3. Vivado Design Suite用户指南之约束的使用第二部分(约束方法论)

    Constraints Methodology(约束方法论) 关于约束方法论 设计约束定义了编译流程必须满足的要求,以使设计在板上起作用. 并非所有步骤都使用所有约束在编译流程中. 例如,物理约束仅在 ...

  4. Design Patterns Example Code (in C++)

    Overview Design patterns are ways to reuse design solutions that other software developers have crea ...

  5. (转) [it-ebooks]电子书列表

    [it-ebooks]电子书列表   [2014]: Learning Objective-C by Developing iPhone Games || Leverage Xcode and Obj ...

  6. .net Framework Class Library(FCL)

    from:http://msdn.microsoft.com/en-us/library/ms229335.aspx 我们平时在VS.net里引用的那些类库就是从这里来的 The .NET Frame ...

  7. SAE J1850 VPW Implement

    ---恢复内容开始--- OBDII Interface Project When I can ever find enough time away from schoolwork, I try to ...

  8. FT232H USB转串口,I2C,JTAG高速芯片

    随着FT232H USB2.0高速芯片的发布,英商飞特蒂亚公司(FTDI)进一步巩固了其在USB接口集成电路产品的地位.此款多功能的单通道USB转UART/FIFO接口设备可通过EEPROM配置为各种 ...

  9. 6.Type and Member Basics

    1.The Different Kinds of Type Members 1.Constants:a symbol that identifies a never-changing data val ...

随机推荐

  1. php+mysql缓存技术的实现

    本教程适合于那些对缓存SQL查询以减少数据库连接与执行的负载.提高脚本性能感兴趣的PHP程序员.概述 许多站点使用数据库作为站点数据存储的容器.数据库包含了产器信息.目录结构.文章或者留言本,有些数据 ...

  2. C# 多线程多文件批量下载---子线程中更新UI 实例

    代码1: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;usi ...

  3. C语言花括号

    由于C语言本身就是函数式语言,说白了,C程序就是由函数构成的! 所以花括号肯定是用在函数之中,包括函数中的各种流程控制语句中. 实际上,C程序中花括号{}的作用:就是把多个单条语句用花括号{}括起来组 ...

  4. strptime和strptime函数理解

    #include <stdio.h> #include <time.h> int main() { struct tm tm; char buf[255]; strptime( ...

  5. Python股票信息抓取(二)

    在一的基础上,想着把所有的折线图放在一个图中,然后图的结果如图所示: 不是略丑,是很丑~ 依然的单进程,只是将图标结果放在了一张图里 代码如下: #-*-coding:utf-8 -*- import ...

  6. flask-login 学习(1)

    今天的目标,就是学习 flask-login.争取用1天时间,掌握个大概. 第一步:掌握flask-login的大致使用,具体参考了:https://www.centos.bz/2017/09/fla ...

  7. JAVA 抽象类、接口

    一.抽象类 1.语法定义 在类前面使用 abstract 修饰的类就是抽象类 2.应用场景: (1)在某些情况下,某个父类只是知道其子类应该包含怎样的方法,但无法准确知道这些子类如何实现这些方法. ( ...

  8. 如何将svg图标快速转换成字体图标?

    今天遇到一个客户需要我将页面的图标做成字体图标,想想哎可能整的麻烦,不过想想这也是对项目的一个优化 ( 1.字体图标直接用color自由控制颜色:2.整合在一起,减少http请求等     PS:平时 ...

  9. ubuntu包管理命令apt和dpkg的用法

    apt-get命令: apt-get是debian,ubuntu发行版的包管理工具,与红帽中的yum工具非常类似,适用于deb包管理式的操作系统,主要用于自动从互联网的软件仓库中搜索.安装.升级.卸载 ...

  10. <<Javascript Patterns>>阅读笔记 -- 第2章 基本技巧(二)

    关于for-in循环 循环数据时, 强烈不推荐使用for-in循环.因为当Array对象被扩展后, 再用for-in循环遍历数据会导致逻辑上的错误, 举例说明: var arr = ['a', 'b' ...