Manley Labs UPSD3233B User manual

Type
User manual

This manual is also suitable for

The Manley Labs UPSD3233B is a versatile and powerful development tool that offers a wide range of features and capabilities. With its ability to emulate microcontrollers, analyze performance, and debug code, the UPSD3233B is an ideal choice for engineers and developers working on embedded systems.

The Manley Labs UPSD3233B is a versatile and powerful development tool that offers a wide range of features and capabilities. With its ability to emulate microcontrollers, analyze performance, and debug code, the UPSD3233B is an ideal choice for engineers and developers working on embedded systems.

1
Feb 2003 www.st.com/micropsd
µ
µ
PSD
PSD
It’s All You Need.
2
www.st.com/micropsd
8
-
b
i
t
8
8
-
-
b
i
t
b
i
t
S
i
m
p
l
e
C
o
n
t
r
o
l
F
u
n
c
t
i
o
n
s
ST’s New 8051
ST’s New 8051
-
-
based MCU Family
based MCU Family
M
e
d
i
u
m
C
o
m
p
l
e
x
i
t
y
S
y
s
t
e
m
s
E
x
t
e
n
s
i
v
e
R
e
a
l
-
T
i
m
e
P
r
o
c
e
s
s
i
n
g
H
i
g
h
P
e
r
f
o
r
m
a
n
c
e
S
y
s
t
e
m
s
1
6
-
b
i
t
1
6
1
6
-
-
b
i
t
b
i
t
3
2
-
b
i
t
3
2
3
2
-
-
b
i
t
b
i
t
Performance
A
p
p
l
i
c
a
t
i
o
n
R
e
q
u
i
r
e
m
e
n
t
s
(
M
e
m
o
r
y
,
I
/
O
s
,
C
o
m
m
u
n
i
c
a
t
i
o
n
C
h
a
n
n
e
l
s
,
.
)
ST6
ST7
ST9
ST10
ST40 &
STPC
µPSD
Turbo
Q303
Q303
µPSD
NOW
NOW
8051 World
8051 World
N
E
W
!
N
E
W
!
ST5
3
www.st.com/micropsd
What is
What is
µ
µ
PSD
PSD
?
?
Standard 8032 MCU Core
(3) 16 bit timers
(2) Ext Interrupts
Large Dual Bank Flash
Large SRAM
Programmable Logic
USB, Dual UARTs, I2C
PWM, ADC, DDC
Many I/O
Built-in Supervisor
ISP
In-System Programming
IAP
In-Application Programming
Just add power
and crystal!
Just add power
and crystal!
8032
8032
CORE:
CORE:
w/UART&
w/UART&
WDOG TMR
WDOG TMR
2K, 8K, or
2K, 8K, or
32K Byte SRAM
32K Byte SRAM
64K, 128K, or
64K, 128K, or
256K Byte
256K Byte
MAIN FLASH
MAIN FLASH
16K or 32K Byte
16K or 32K Byte
2
2
nd
nd
FLASH
FLASH
DECODE &
DECODE &
MEM MNGR
MEM MNGR
PROGRAMMABLE
PROGRAMMABLE
LOGIC
LOGIC
I/O
I/O
USB
USB
1.1
1.1
2
2
nd
nd
UART
UART
I2C
I2C
DDC
DDC
PWM
PWM
ADC
ADC
Vcc
Vcc
MON
MON
PWR
PWR
MNG
MNG
JTAG ISP
JTAG ISP
8032
8032
CORE:
CORE:
w/UART&
w/UART&
WDOG TMR
WDOG TMR
2K, 8K, or
2K, 8K, or
32K Byte SRAM
32K Byte SRAM
64K, 128K, or
64K, 128K, or
256K Byte
256K Byte
MAIN FLASH
MAIN FLASH
16K or 32K Byte
16K or 32K Byte
2
2
nd
nd
FLASH
FLASH
DECODE &
DECODE &
MEM MNGR
MEM MNGR
PROGRAMMABLE
PROGRAMMABLE
LOGIC
LOGIC
I/O
I/O
USB
USB
1.1
1.1
2
2
nd
nd
UART
UART
I2C
I2C
DDC
DDC
PWM
PWM
ADC
ADC
Vcc
Vcc
MON
MON
PWR
PWR
MNG
MNG
JTAG ISP
JTAG ISP
4
www.st.com/micropsd
What makes
What makes
µ
µ
PSD
PSD
different?
different?
PSD Architecture … enhances capability of 8051
PSD = Programmable System Device
Dual bank Flash MemorySuperior IAP
Memory Management … Seamless paging and memory placement
Programmable Logic … Consolidate external logic chips
JTAG ISP … perfect for lab and manufacturing
Some µPSDs have Big Memory up to 288K bytes…
When is larger Flash and SRAM needed?
The use of C language
Elaborate user interfaces … menus, graphics, screens
Multiple languages and fonts, data tables
Faster data transfers
Data recording
Low Cost
Save $ compared to other 8051 and 8-bit MCU devices with
larger SRAM and Flash Memories
5
www.st.com/micropsd
Unique
Unique
µ
µ
PSD
PSD
features
features
Excellent Memory Management
Flexible Memory Allocation
Remote Field Updates
JTAG In System Programming
Programmable Logic
PSD
Architecture !!!
PSD
Architecture !!!
6
www.st.com/micropsd
Built-in Address Decoding PLD
Map any µPSD memory sector to any address
Easily convert existing 8051 designs into µPSD
Total memory mapping flexibility for new designs
Memory Paging is Easy using Decode PLD
Break traditional 8051 64K Byte address limit imposed by only 16 address lines
8-bit page register is built into Decode PLD … it’s like having 8 more address lines
Paging (or banking) is directly supported by most 8051 C compilers
Excellent Memory Management
Excellent Memory Management
64K
FFFF
Page 0
Page 0
32K Main
32K Main
Flash
Flash
Common to All Pages
Map here: SRAM, 2
nd
Flash, I/O, etc
0000
Page 1
Page 1
32K Main
32K Main
Flash
Flash
Page 2
Page 2
32K Main
32K Main
Flash
Flash
Page 3
Page 3
32K Main
32K Main
Flash
Flash
MAIN FLASH
MAIN FLASH
MAIN FLASH
8
Sectors
MAIN FLASH
MAIN FLASH
MAIN FLASH
MAIN FLASH
MAIN FLASH
MAIN FLASH
8
Sectors
2
nd
FLASH
2
2
nd
nd
FLASH
FLASH
4
Sectors
2
nd
FLASH
2
2
nd
nd
FLASH
FLASH
2
nd
FLASH
2
2
nd
nd
FLASH
FLASH
4
Sectors
SRAM
SRAM
SRAM
1
Sector
DECODE
PLD
DECODE
DECODE
PLD
PLD
Sector
Selects
Page
Register
8032
MCU
8032
8032
MCU
MCU
Address
Sector
Selects
Page 7
Page 7
32K Main
32K Main
Flash
Flash
7
www.st.com/micropsd
8051 Architecture uses a separate address space for code and for data
Allocate dual banks of Flash to meet Application Demands
The Decode PLD controls where Flash memory resides
You decide how to split the Flash memory
Flexible Memory Allocation
Flexible Memory Allocation
MAIN FLASH
MAIN FLASH
MAIN FLASH
2
nd
FLASH
2
2
nd
nd
FLASH
FLASH
DATA
DATA
DATA
CODE
CODE
CODE
Big Code
(complex
algorithms)
Big Data
(printers, big
GUI, tables)
MAIN FLASH
MAIN FLASH
MAIN FLASH
2
nd
FLASH
2
2
nd
nd
FLASH
FLASH
CODE
CODE
CODE
DATA
DATA
DATA
MAIN FLASH
MAIN FLASH
MAIN FLASH
2
nd
FLASH
2
2
nd
nd
FLASH
FLASH
CODE
CODE
CODE
CODE
CODE
CODE
All Code
(like typical
flash 8051s)
Can use
EEPROM
Emulation
-OR -
-OR -
8
www.st.com/micropsd
8051s typically cannot write to “code” space
Special µPSD register eliminates this limitation
Typical Flash memory cannot be read and written
at the same time
Dual Banks of Flash eliminate this limitation
Read program from one bank while writing to the other bank
Remote Field Updates with IAP
Remote Field Updates with IAP
3. After IAP
2. During IAP
1. Before IAP
Special Register temporarily re-
classifies Main Flash as Data
MCU now reads IAP program
from 2
nd
Flash while receiving
bytes of new program from
USB, UART, Modem, I
2
C, etc.
and writes the new program to
Main Flash
Special Register classifies
Main Flash as Code again
MCU now reading new
program from Main Flash
MCU reading program
from Main Flash
USB, UART,
I
2
C, Modem…
Updated
Updated
Program
Program
MAIN
MAIN
FLASH
FLASH
OLD
OLD
CODE
CODE
2
2
nd
nd
Flash
Flash
DATA
DATA
8032
8032
MCU
MCU
READ &
WRITE
READ
ONLY
MAIN
MAIN
FLASH
FLASH
OLD
OLD
CODE
CODE
2
2
nd
nd
Flash
Flash
DATA
DATA
8032
8032
MCU
MCU
READ &
WRITE
READ
ONLY
READ
ONLY
MAIN
MAIN
FLASH
FLASH
TREAT
TREAT
AS DATA
AS DATA
2
2
nd
nd
Flash
Flash
CODE
CODE
8032
8032
MCU
MCU
READ &
WRITE
READ
ONLY
READ
ONLY
READ &
WRITE
MAIN
MAIN
FLASH
FLASH
TREAT
TREAT
AS DATA
AS DATA
2
2
nd
nd
Flash
Flash
CODE
CODE
8032
8032
MCU
MCU
READ &
WRITE
READ &
WRITE
READ
ONLY
READ
ONLY
READ
ONLY
READ
ONLY
READ &
WRITE
READ &
WRITE
MAIN
MAIN
FLASH
FLASH
2
2
nd
nd
Flash
Flash
DATA
DATA
8032
8032
MCU
MCU
READ &
WRITE
READ
ONLY
NEW
NEW
CODE
CODE
MAIN
MAIN
FLASH
FLASH
2
2
nd
nd
Flash
Flash
DATA
DATA
8032
8032
MCU
MCU
READ &
WRITE
READ
ONLY
READ
ONLY
NEW
NEW
CODE
CODE
NEW
NEW
CODE
CODE
9
www.st.com/micropsd
µ
µ
PSD
PSD
µ
µ
PSD
PSD
In
In
-
-
System Programming (ISP)
System Programming (ISP)
Program blank device, no interaction of 8032 MCU required
Entire chip programs in 10-25 seconds
JTAG serial connection is industry standard
Speedy lab development and manufacturing
No sockets or
pre-programmed
parts needed
Last minute
changes are
OK
E
n
g
i
n
e
e
r
i
n
g
C
h
a
n
g
e
O
r
d
e
r
Just-In-Time
Inventory
Management
JIT
10
www.st.com/micropsd
Programmable Logic
Programmable Logic
Built-in 16 MacroCell PLD for General Purpose Logic
Similar to standard 22V10 architecture
Eliminate small PLDs, PALs, 74XXX series discrete logic
Easy Point-and-Click PLD configuration with PSDsoft Express
Build:
Glue logic
State-machines
Shifters
Counters
Chip-selects for external devices
Keypad interfaces
Delay generators
Clock dividers
Decoders
Multiplexers
PLD
PAL
74XXX
State 0
State 1
State 2
State 3
Easy interface to external devices
11
www.st.com/micropsd
A Unique Combination
A Unique Combination
ST is the only large manufacturer that can bring:
- so much memory
- so many peripherals
- and programmable logic
In a cost effective device
1 and 2Mbits Flash today
4Mbits coming in 2003
Excellent Flexibility to adapt designs and
grow with future product requirements
Versatile, easy to use Programmable Logic
16 macrocells today, 32 coming in 2003
12
www.st.com/micropsd
Consolidate Devices
Consolidate Devices
What common devices can uPSD eliminate from
your circuit board?
Sockets – not needed using JTAG ISP
Glue-logic chips – Use on-chip PLD
EEPROM chip – Emulate EEPROM using the second Flash memory
Supervisor chip – Low Vcc Detect and Watchdog included!
13
www.st.com/micropsd
Broad Variety of Connections
Broad Variety of Connections
Keypads, Displays, LEDs, Relays,
Contol Panels, Sensors, Acuators
Glue Logic, Clock Dividers, State
Machine Sequencers, Simple
Counters, Shifters, Chip-Selects
Motor Control, Brightness Control, Position
Control, Simple DAC, Tone Generation
Widely used serial connection bus
supporting plug-and-play operation.
USB 1.1 Peripheral, 1.5Mbps, Control
Endpoint 0 and Intr Endpoints 1 and 2
Connect Modems, Terminals, Displays, GPS Unit, Debug
Connect Displays, Communication Chips, Many Industry Peripherals
Data Display Chan for LCD Projector (DDC1, DDC2B)
Monitor Environment, Data Acquisition, Closed-Loop Control Feedback
Reduce PLD
Current for
Battery
Operation
8032
8032
CORE
CORE
w/UART
w/UART
& WDOG
& WDOG
SRAM
SRAM
MAIN FLASH
MAIN FLASH
2
2
nd
nd
FLASH
FLASH
DECODE &
DECODE &
MEM MNGR
MEM MNGR
Vcc
Vcc
MON
MON
JTAG ISP
JTAG ISP
I/O
I/O
PROGRAMMABLE
PROGRAMMABLE
LOGIC
LOGIC
PWM
PWM
USB
USB
1.1
1.1
2
2
nd
nd
UART
UART
2
2
nd
nd
UART
UART
I2C
I2C
I2C
I2C
DDC
DDC
DDC
DDC
ADC
ADC
ADC
ADC
PWR
PWR
MNG
MNG
PWR
PWR
MNG
MNG
14
www.st.com/micropsd
Development Support
Development Support
µPSD C Compiler, Simulator, Debugger, Monitor
Supported by Keil Software, #1 vendor for 8051 architecture
Excellent UART ISD51 background debugger for breakpoints,
single-step, display memory and registers, etc.
Standard 8051 compilers from other vendors are also
completely compatible with µPSD.
DK3200 development board from ST, US$149
Everything needed: hardware, software, JTAG programmer
Firmware drivers, example code, and USB demonstration
Windows
TM
application example programs Flash over USB
See Application Note AN1560 for guide
In-Circuit Emulator (ICE) from Nohau Inc and Manley
Full speed real-time debugging, deep tracing, memory banking
As low as US $250.00 (Manley)
PSDsoft Express
TM
for rapid configuration of µPSD
Point and click design for PLD logic, memory mapping, and pin
configuration, free from www.st.com/micropsd
$149 USD
15
www.st.com/micropsd
Keil Software Tools
Keil Software Tools
Integrated Development Environment (IDE)
PK51 and DK51
Optimized C Compiler
Simulator for standard 8032
functions
ISD51 Debugger
Only takes 700 bytes,
no royalties, leave in product
Set Breakpoints
•Single-Step
Step though C
and Assembly Code
Overwrite Variables,
Registers, Memory
Display Memory
Watch Variables
Display Registers
All in One Environment
See www.keil.com/c51 for details
16
www.st.com/micropsd
DK3200 Development Kit
DK3200 Development Kit
Includes
DK board, FlashLINK JTAG
programming cable, RS-232 serial
debugger cable, Power Supply
Includes CD with:
PSDsoft Express with uPSD
project templates and example
program
Keil 8051 evaluation compiler and
ISD51 debugger (limited to 2K
bytes code)
8032 firmware for USB, I2C,
PWM, ADC, IAP, LCD, UARTs,
TIMERS
Windows PC USB program to
demonstrate USB capabilities
including IAP (program flash).
Visual C++ source code for
Windows USB program is
included.
App note/Users guide and uPSD
data sheets
17
www.st.com/micropsd
Nohau
Nohau
In
In
-
-
Circuit Emulator
Circuit Emulator
In-Circuit Emulator
Hardware Emulation, replaces uPSD chip
Full Speed Operation, 5V and 3.3V
Supports Memory Paging and uPSD architecture
Connects directly to DK3000 with no TQFP adapter
Hardware Breakpoints
256K Deep Trace
Filtered Triggers
–Timestamps
Mixed Source Support
C and Assembly
Performance Analysis
USB, Parallel, or ISA
interface to PC
18
www.st.com/micropsd
Manley In
Manley In
-
-
Circuit Emulator
Circuit Emulator
In-Circuit Emulator
Hardware Emulation, replaces uPSD chip
Full Speed Operation, 5V and 3.3V
Supports Memory Paging and uPSD architecture
ICE operates from it’s own SRAM (up to 288K Bytes) or
directly from uPSD Flash Memory.
Breakpoints from hardware compare or external signal
128K trace events (optional)
PC Parallel support port today, USB in Q303
Includes proprietary 8051 A51 assembler and L51 linker.
Supports source code debugging for 3
rd
party C and
Assembler
Low cost … US$250.00
See www.manley.com.cn and www.st.com/micropsd for
more details
19
www.st.com/micropsd
Programming Support
Programming Support
FlashLINK JTAG ISP Programming Cable, ST
Plugs into an PC/Notebook Parallel Port
Driven by PSDsoft Express
Programs entire part in 10-25 seconds
Included in DK3200 Kits, or sold US$59 individually
Gang JTAG Insertion Programmers, Needham’s Electonics
Inexpensive solution for lab or manufacturing
Gang many EMP-21 programmers together on USB hub
1 for US$680, 4 for $2200, 8 for $4000, adapters included
Low cost EMP-11 for $425 for PC parallel port (no gang)
Single-Site Insertion Programmers, BP Micro and HiLo/Tribal
Industry Standard Insertion Programmers
Tribal ALL-11P2 is US$1195 + adapter (~$300)
All BP Microsystems Engineering programmers support uPSD, contact
BP Micro for model and price
Gang JTAG ISP Programmer, JTAG Technologies
4-way gang JTAG In-System Programmer for high volume manufacturing
Supports many buses: ISA, PCI, VXI, PXI, USB and Agilent (HP) ATE
Contact JTAG Technologies for pricing
USB
USB
HP3070
20
www.st.com/micropsd
µPSD
µPSD
µ
µ
PSD
PSD
Family Growth
Family Growth
10-bit ADC channels
• Greater accuracy
Up to 512K byte Main Flash
• Size supports: C/C++, RTOS, GUI,
data recording, look-up tables, load
FPGAs, multi-national products
Turbo 4-cycle 8032 Core
• 10+ MIPs at 40MHz
• Up from 3 MIPs, 12-cycle core
• Enhanced timer block with six
16-bit capture/compare,
timer/counters, or PWM units
JTAG Debug and Emulation
• Eliminate external In-Circuit
Emulation Hardware
Up to 32 MacroCell PLD
• 12 nsec propagation
Eliminate external CPLDs
• Build custom peripherals
Build complex glue logic
USB 1.1 Full-Speed
• 12 Mbits/sec, 5V and 3V
FIFOs for rapid transfer of bulk data
5V tolerant general I/O
• 3V system connects to 5V peripherals
Up to 32K byte SRAM
• Size supports: C/C++, fast math, buffer
for large fast communication packets
PLD
PLD
PLD
PLD
ANALOG
ANALOG
ANALOG
ANALOG
CPU
CPU
CPU
CPU
SRAM
SRAM
SRAM
SRAM
FLASH
FLASH
FLASH
FLASH
INTERFACE
INTERFACE
INTERFACE
INTERFACE
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30

Manley Labs UPSD3233B User manual

Type
User manual
This manual is also suitable for

The Manley Labs UPSD3233B is a versatile and powerful development tool that offers a wide range of features and capabilities. With its ability to emulate microcontrollers, analyze performance, and debug code, the UPSD3233B is an ideal choice for engineers and developers working on embedded systems.

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI