axtls on raspberry pi pico

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
ekkim
Posts: 1
Joined: Fri Feb 11, 2022 6:14 am

axtls on raspberry pi pico

Post by ekkim » Fri Feb 11, 2022 6:16 am

I already added the library of wiznet5k(ethernet) on raspberry pi pico board.
I want to use the ssl protocol on raspberry pi pico board.
As a result of searching within the micropython code for that content, it seems that axtls and mbedtls can be written.
I have selected axtls library used by esp and I am porting it.
If I send a lot of data using the code, the process appears to be stopped. If you do a ping test at this time, it is normal.

mutex problem? irq problem?

When rp2040 read the data using SPI interface....

I set the tx_buf[100] and I send a lot of data using the code, the process appears to be stopped.
but I set the tx_buf[4096] and I send a lot of data using the code, the process seems to have stopped intermittently.

Code: Select all

STATIC void wiz_spi_read(uint8_t *buf, uint32_t len) {
    //uint8_t tx_buf[100]; 
    uint8_t tx_buf[4096];
    machine_spi_transfer((mp_obj_base_t*)wiznet5k_obj.spi ,len, tx_buf ,buf);

source code link : https://github.com/Wiznet/RP2040-HAT-MicroPython

mrpackethead
Posts: 10
Joined: Sun Feb 27, 2022 1:26 am

Re: axtls on raspberry pi pico

Post by mrpackethead » Sat Mar 26, 2022 9:08 pm

where you able to resolve this?

I'm trying to figure out how to use MBEDTLS on an RP2040

Post Reply