Welcome to the Parallax Discussion Forums, sign-up to participate.
Cluso99 wrote: »
As I said, lots of theory, no practical. I want to see something.
Program Size: data=88.2 xdata=384 const=181 code=4097
LX51 RUN COMPLETE. 0 WARNING(S), 0 ERROR(S)
T Chap wrote: »
Here is my Prop loader Cp2110 app. It has a few features on the app to test a couple of GPIO and mess around with the config values. Basically I just hit Load File and find a binary, then hit Upload Eeprom. Very simple. I hope to convert this to P2 once I can get one a learn the load method.
Because it can control GPIO, I have a new board with two props, and one of the load buttons will program one p1 and the other load button will load the other. Load EEPROM #1 and Load EEPROM #2. On Button Press, that button will first turn on or off a GPIO pin that controls some switches to determine which P1 the reset, tx and rx are connected to. So 1 usb interface can program two devices.
I want to see you show a live example of booting and downloading code to a P1 (since you haven't invested in anything to test P2).
As I said, lots of theory, no practical. I want to see something. Then I may be convinced.
Phil Pilgrim (PhiPi) wrote: »
Give jmg a break. Maybe he's a journalist.
jmg wrote: »
and further up the price curve is this HS-USB device / module ~$22 Module, ~ $5 chip
The module is interesting, as it suggests firmware is installed and available, and offers HS-USB with
* Asynchronous Serial data transfer rates from 300 baud to 12 Mbaud at TTL levels
* One SPI master supports single / dual / quad modes of data transfer. Clock rate is up to 25 MHz
* One SPI slave support single data transfer with 25MHz clock (SCH hints this could be quad ? )
* I2C bus interface can be configured as master or slave, with data transfers up to 3.4Mbps
Data is vague on exactly what works 'out of the box', in what driver forms ? ie which are VCOM and which are BOMS/HID/CDC or D2xx ?
If it can manage all of the above, at the same time, that's getting useful.
jmg wrote: »
Nuvoton’s M2351 "TrustZone® for Arm®v8-M Empowered by TrustZone® for Arm®v8-M architecture
Eval Boards are in stock, $69 : https://direct.nuvoton.com/en/numaker-pfm-m2351
The processor core of the M2351, is modest, with
64MHz Core speed and 32-bit Single-cycle hardware multiplier and 32-bit 17-cycle hardware divider
but that helps P2, as the P2 does the heavy lifting....
The USB means this could be a 'better bridge' offering for P2.
Package Range is quite impressive here : The 2 smallest could fit on a Eval / Breakout 'P2D2 like' Board...
C: WLSCP49 (3.2x3.2 mm)
Z: QFN33 (5x5x0.8 mm Pitch 0.5 mm)
S: LQFP64 (7x7 mm)
K: LQFP128 (14x14 mm)
FLASH Choices I: 512 KB G: 256 KB E: 128 KB
RAM choices C: 128 KB A: 96 KB 8: 64 KB 6: 32 KB
The links speeds look decent :
▪ Communication interfaces
– Up to 11 UART interfaces (up to 10.66 MHz), with up to 3 ISO-7816-3 interfaces, 6 RS-485, 6 IrDA and 2 LIN interfaces
– Up to 5 I2C interfaces (up to 1 Mbps), with up to 3 I2C with SM Bus/ PM Bus
– Up to 7 SPI interfaces (up to 64 MHz), with 4 I2S interfaces, additional 1 Quad-SPI interface
– Up to 5 I2S interfaces, 4 I2S shared with 4 SPI
– Secure Digital I/O (SDIO)(up to 50 MHz)
and there is a free CAN bus too....
▪ Advanced connectivity
– USB 2.0 full speed OTG controller with on-chip PHY
– One CAN interface up to 1 Mbps (CAN 2.0A and 2.0B standard)
– Support crystal-less
and other stuff that complements P2, or can co-operate with P2 to result in a secure product.
– One 12-bit, 3.76M SPS at 64MHz SAR ADC (with 6 fast channels, total up to 16 channels)
– Two 12-bit, 1M SPS DACs
– Two rail-to-rail comparators (CMP)
▪ Motor interfaces
– Up to 2 quadrature encoder interfaces (QEI)
– 2 input capture timers (ECAP)
Not sure of prices, but anything that can fit into a 3.2mm package, is not likely to be P2-impact-significant/ ?
New EEPROM M95M04-DR SRP SECV TB BP2 BP1 BP0 WEL BUSY << flash
WREN Write enable 0000 0110
WRDI Write disable 0000 0100
RDSR Read Status register 0000 0101 SRWD 0 0 0 BP1 BP0 WEL WIP << EEPROM
WRSR Write Status register 0000 0001
READ Read from Memory array 0000 0011
WRITE Write to Memory array 0000 0010
RDID Read Identification page 1000 0011
WRID Write Identification page 1000 0010
RDLS Reads the Identification page lock status 1000 0011
LID Locks the Identification page in read-only mode 1000 0010