EEVblog > EEVblog Specific

EEVblog #1144 - Padauk Programmer Reverse Engineering

<< < (277/302) > >>

spth:

--- Quote from: suzhiming on June 20, 2021, 07:46:08 am ---可以用仿真芯片吗?    Can I use a simulation chip?

--- End quote ---

AFAIK, the free toolchain based on SDCC currently does not support the use of the Padauk ICE (in-circuit-emulator).

There are uCsim simulators that come with SDCC, but they are software only and while they do simulate the core, AFAIK support for peripherals is incomplete. Also uCsim currently only supports only the following: PMC153, PMS132B, PMS134. Those have been chosen so that most software for a pdk13/pdk14/pdk15 chip should be able to run on one of them. The uCsim simulators should be very reliable, as they are used for the nightly regression testing (i.e. every night the SDCC compile farm compiles a large number of test programs using the latest SDCC, and executes them using uCsim to detect any possible regressions in SDCC).

suzhiming:
IDE course 使用教程,我不会用

js_12345678_55AA:

--- Quote from: suzhiming on July 06, 2021, 06:30:27 am ---PCB Manufacturer Support only    <20mb file
我想做一个烧录器,工厂只接受小于20mb文件,仅支持GERBER文件最大外尺寸10*10cm
烧录芯片的文件,现在芯片昂贵,有什么廉价芯片可以代换吗8051,stc,padauk?

--- End quote ---

The PCB manufacture file is 157 kB (this is <20mb for sure): https://github.com/free-pdk/easy-pdk-programmer-hardware/raw/master/pcb/Gerber_EASYPDKPROG_PCB12_NoSilk.zip

The IC (STM32F072) seems to be available from several sellers for 30-50 RMB: https://s.taobao.com/search?q=STM32F072C8T6

In case you want to be sure to get an original, you could buy a STM32F072 Nucleo board and use the IC from this board (80-100 RMB): https://s.taobao.com/search?q=STM32F072+nucleo
(This would required to modify the PCB since the Nucleo comes with a 64 pin package)

JS

LovelyA72:

--- Quote from: suzhiming on July 06, 2021, 06:30:27 am ---PCB Manufacturer Support only    <20mb file
我想做一个烧录器,工厂只接受小于20mb文件,仅支持GERBER文件最大外尺寸10*10cm
烧录芯片的文件,现在芯片昂贵,有什么廉价芯片可以代换吗8051,stc,padauk?

--- End quote ---
You have to use a micro that contains a DAC(NOT PWM) and have a sufficient amount of flash storage. Since the firmware is open source, you can port the firmware to any platform. (What's the license of these codes again?) Make sure you comply the source code license and disclose the source code when needed.

bovineck:
Hi all - I have a few working freepdk programmers (and some that are not so working) and I have recently upgraded my computer (running Linux Mint) to boot from a 1Tb SSD (for speed!). Alas the computer no longer talks to the freepdk programmer (but lsusb and dmesg show it to be present). To help me narrow down the problem solving path, should I be looking for new:

     1. bios firmware
     2. motherboard
     3. power supply
     4. operating system (although the old one worked??)
     5. kernel module
     6. hobby
     7. brain

Note that pulling out the new SSD and booting into the old hard drives did not work.

Any suggestions gratefully accepted - here's some reports from my system

sudo lsusb -v


--- Code: ---Bus 003 Device 005: ID 0483:5740 STMicroelectronics Virtual COM Port
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            2 Communications
  bDeviceSubClass         2 Abstract (modem)
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0483 STMicroelectronics
  idProduct          0x5740 Virtual COM Port
  bcdDevice            2.00
  iManufacturer           1 free-pdk.github.io
  iProduct                2 Easy PDK Programmer
  iSerial                 3 1234567855AA
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0043
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface              0
      CDC Header:
        bcdCDC               1.10
      CDC Call Management:
        bmCapabilities       0x00
        bDataInterface          1
      CDC ACM:
        bmCapabilities       0x02
          line coding and serial state
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              16
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered

--- End code ---


dmesg


--- Code: ---[ 4797.390785] usb 3-10: new full-speed USB device number 5 using xhci_hcd
[ 4797.540232] usb 3-10: New USB device found, idVendor=0483, idProduct=5740, bcdDevice= 2.00
[ 4797.540237] usb 3-10: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4797.540240] usb 3-10: Product: Easy PDK Programmer
[ 4797.540242] usb 3-10: Manufacturer: free-pdk.github.io
[ 4797.540244] usb 3-10: SerialNumber: 1234567855AA
[ 4797.611233] cdc_acm 3-10:1.0: ttyACM0: USB ACM device
[ 4797.611506] usbcore: registered new interface driver cdc_acm
[ 4797.611507] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

--- End code ---

Bovineck (OneCircuit)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod