1 / 26

Oppenheimer Technologies

Oppenheimer Technologies. Rick King Jonathan Creekmore. Problem. Current programming solutions for the Ubicom SX microcontroller are expensive. Typical costs range from $150-$240. Our Solution. NADS – Not Another Development System

dillian
Download Presentation

Oppenheimer Technologies

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Oppenheimer Technologies Rick King Jonathan Creekmore

  2. Problem • Current programming solutions for the Ubicom SX microcontroller are expensive. • Typical costs range from $150-$240.

  3. Our Solution • NADS – Not Another Development System • A low-cost programmer that can be built by students for less than $50 in components and open software.

  4. Hardware Design RS-232 Ubicom SX-18 Flash Programming Voltage In-System Programming Interface PC Target System

  5. RS-232 RS-232 Interface Ubicom SX-18 PC

  6. RS-232The Concept • Most Commonly Available Serial Communications Protocol for Computer. • Transceiver Necessary to Translate Between RS-232 Voltage Levels and CMOS Levels.

  7. RS-232 Schematic U4 14 17 Vdd RA0 5 18 Vss RA1 Receive 1 RA2 Transmit 2 RA3 6 RB0 OSC1 7 16 RB1 OSC1 8 15 OSC2 RB2 OSC2 9 RB3 10 3 RB4 RTCC MCLR 11 4 RB5 MCLR 12 RB6 13 RB7

  8. Where’s the UART? • A UART Converts Between Asynchronous Serial Data and Parallel Data • This Function is Performed by the SX-18 using Ubicom’s Virtual Peripherals.

  9. Flash ProgrammingVoltage Ubicom SX-18 Flash Programming Voltage Target System

  10. Flash Programming Voltage • The Ubicom SX Family of Processors Require 12 V to Program the Flash Memory. • Design is Limited to a Single 5 V Power Supply. • 12 V Must Be Generated on Demand for Programming.

  11. U4 Vdd 14 17 Vdd RA0 Vss 5 18 Vss RA1 Receive 1 RA2 Transmit 2 RA3 Vpp_On 6 RB0 MCLR_Ext OSC1 7 16 RB1 OSC1 OSC2_Ext 8 15 OSC2 RB2 OSC2 9 RB3 10 3 RB4 RTCC MCLR 11 4 RB5 MCLR 12 RB6 13 RB7 Flash Programming Voltage Schematic J1 1 2 662-Out 3 4 5 6 ISP Header

  12. In-System Programming Interface Ubicom SX-18 In-System Programming Interface Target System

  13. Frames and Cycles • 17 Frames Per Word • 5 Cycles Per Frame • Initiated by Application of 12V Programming Voltage

  14. In-System Programming Schematic U4 14 17 Vdd RA0 5 18 Vss RA1 1 RA2 2 RA3 6 RB0 7 16 RB1 OSC1 OSC2_Ext 8 15 RB2 OSC2 9 RB3 10 3 RB4 RTCC 11 4 RB5 MCLR 12 RB6 13 RB7

  15. PCB Layout

  16. Waveform

  17. Hardware Costs • Current Parts Cost $30.00 • Possible Cost Reductions • Reduce PCB Cost from $10 to $0.70 • Potential Cost (1000 quantity) $15.00

  18. Demo Plan • Create sample program that has output noticeable to the audience. • Modify program based on audience interaction. • Program test microcontroller and demonstrate with the new code.

  19. 6FCE 4FCE 0110111111001110 0100111111001110 ??? Wait Serial Communications Programmer 0100111111001110

  20. E3 4FCE 0100111111001110 11100011 Checksum Actual Data DLL Communications Programmer 4FCEE3 010011111100111011100011

  21. Checksum Algorithm Checksum (payload, length, cksum) Begin cksum := 0 for i := 1:length cksum := payload[i] + cksum end cksum := ~cksum + 1 End

  22. Checksum Demo payload := 4FCE length := 2 Iteration 0: cksum = 0 cksum := 4F + cksum Iteration 1: cksum = 4F cksum := CE + cksum Iteration 2: cksum = 1D cksum := ~cksum + 1 cksum = E3

  23. ISP Protocol -- Program Yes Start Session Program Image Done? No No Get Device Word Program FuseX Done? Yes Yes No Erase Done? Image Done? No Yes

  24. 4FCE 14 CF 0100111111001110 00010100 11001111 Command Repeat Checksum Speed Increase • Common commands must be repeated multiple times to be effective • Serial communications channel cannot provide adequate bandwidth for a full image • Solution:

  25. ISP Protocol -- Program Start Session No Image Done? Program Image Get Device Word Yes Erase Program FuseX

  26. Screenshot

More Related