Presentation is loading. Please wait.

Presentation is loading. Please wait.

Oppenheimer Technologies Rick King Jonathan Creekmore.

Similar presentations


Presentation on theme: "Oppenheimer Technologies Rick King Jonathan Creekmore."— 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 Flash Programming Voltage In-System Programming Interface Ubicom SX-18 PC Target System

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

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

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

12 In-System Programming Interface Ubicom SX-18 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 OSC2_Ext U4 17 18 14 6 7 8 9 10 11 12 13 16 15 2 4 1 3 5 RA0 RA1 Vdd RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 OSC1 OSC2 RA3 MCLR RA2 RTCC Vss

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 Serial Communications Programmer 0100111111001110 0110111111001110 6FCE ??? 0100111111001110 4FCE Wait

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

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 := 4FCElength := 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 Start Session Get Device Word Erase Done? Program FuseX Done? Program Image Done? Image Done? No Yes No Yes No Yes No Yes

24 Speed Increase Common commands must be repeated multiple times to be effective Serial communications channel cannot provide adequate bandwidth for a full image Solution: 0100111111001110 00010100 11001111 4FCECF14 Command RepeatChecksum

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

26 Screenshot


Download ppt "Oppenheimer Technologies Rick King Jonathan Creekmore."

Similar presentations


Ads by Google