Search found 8 matches

by mlara
Mon Sep 25, 2023 2:23 pm
Forum: NetBurner Software
Topic: MODM7AE70 Interrupt Disable
Replies: 2
Views: 679

Re: MODM7AE70 Interrupt Disable

Hi John, Please, try the following function to see if it resolves your issue. You'll need to place the following source in \nburn\platform\MODM7AE70\source\pin_irq.cpp void ClearISR(PinIO pin) { int idx = &(pin.pio) - PIOA; // PIO controller index volatile uint32_t isr = pin.pio.PIO_ISR; // Inte...
by mlara
Tue Jul 12, 2022 1:28 pm
Forum: NetBurner Software
Topic: Wifi driver question
Replies: 2
Views: 859

Re: Wifi driver question

Thanks for bringing this to our attention. This has now been patched for the next release of the NNDK. To answer your question, that behavior was not intentional. For anyone using the NBWIFIIN modules, this did not affect it's driver since it does not return values outside the range of a uint8_t. Th...
by mlara
Tue Sep 17, 2019 2:43 pm
Forum: NetBurner Software
Topic: MODM7AE70 Additional SPI Ports
Replies: 4
Views: 2397

Re: MODM7AE70 Additional SPI Ports

The DSPI driver for the MODM7AE70 currently only supports one SPI module. The SAME70 has multiple peripherals that can be configured for SPI, but we have only written a driver for one of the dedicated SPI peripherals on the SAME70 so far. There are other peripherals, such as the USARTs, that can be ...
by mlara
Wed Aug 29, 2018 1:32 pm
Forum: NetBurner Software
Topic: PK70 Interrupt Setup
Replies: 3
Views: 2248

Re: PK70 Interrupt Setup

Mike, After taking a look at things, we've realized that the PIT interrupt/semaphore/flag functions defined in nburn\MOD5270\include\pitr_sem.h and nburn\MOD5270\system\pitr_sem.cpp should have been ported over to the PK70. SetUpPITRFunc() defined in pitr_sem.cpp shows how to configure a PIT interru...
by mlara
Tue Aug 28, 2018 7:03 pm
Forum: NetBurner Software
Topic: PK70 GPIO
Replies: 2
Views: 1820

Re: PK70 GPIO

Hi Mike, You're looking for the "Pins" array instead of the "J1" and "J2" arrays. This is defined in \nburn\include\pins.h. There is some example usage in the comments above the class definition, too. Note the platform #ifdef for the PinIO class definition in pins.h. Yo...
by mlara
Tue Apr 10, 2018 2:28 pm
Forum: NetBurner Software
Topic: Blacklisted IP Causing NB Crash
Replies: 4
Views: 2968

Re: Blacklisted IP Causing NB Crash

Which send email function are you using? Are you sending the email to a common server like Google, Outlook, Yahoo, etc? Are you calling the send email function from the web server task? Are other tasks able to run other than the firmware update task? What does your send email fail condition logic lo...
by mlara
Wed Mar 21, 2018 3:59 pm
Forum: NetBurner Software
Topic: How To NOT Use Certificates
Replies: 3
Views: 3006

Re: How To NOT Use Certificates

Alternatively, if you're just trying to avoid having to get a certificate from a Certificate Authority, you can create a self-signed certificate as described in the following article: https://www.netburner.com/learn/creating-a-self-signed-certificate-for-secure-iot-applications#diy-section . You wil...
by mlara
Wed Nov 29, 2017 11:20 am
Forum: NetBurner Software
Topic: WebSocket receiving mangled messages
Replies: 16
Views: 11013

Re: WebSocket receiving mangled messages

Are you capturing the WebSocket handshake in your Wireshark capture? If not, Wireshark won't recognize the packets as WebSocket packets but TCP packets instead.

Is the whole message (WebSocket payload) and length correct in the packets that Wireshark captures?