PIC32MX254F128DT-I/ML #478
Replies: 14 comments 12 replies
-
Theoretically it should be:
One part of my work on the new compiler is to automatically generate all the linker scripts we could ever need for us. That includes the bootloader linker script, and the "application" linker script to go along with it. I haven't got a configuration for the 2x4 chips yet though. |
Beta Was this translation helpful? Give feedback.
-
@EmbeddedMan @ricklon @majenkotech Any opinions on what this should be called? |
Beta Was this translation helpful? Give feedback.
-
Another issue is that the PIC32MX254F128D is not supported in v1.33 of XC32. I've installed v4.0 but it appears that the 1+ license doesn't allow for highest level optimizations for this part. I can use the free version probably for 30 days, but after that if the code doesn't fit in boot I'll need to figure out how to get a license. |
Beta Was this translation helpful? Give feedback.
-
Do we have access to the chipKIT name?
If it's too descriptive it will scroll off the important part.
…--Rick
On Sat, Jan 22, 2022 at 4:33 AM Jacob Christ ***@***.***> wrote:
@EmbeddedMan <https://github.com/EmbeddedMan> @ricklon
<https://github.com/ricklon> @majenkotech <https://github.com/majenkotech>
So I got my new boards in and mounted some PIC32MX254F128DT-I/ML parts.
I'm going to start working on a bootloader for them but I wasn't sure what
to call it. The boards are based on the Fubarino Mini 2.0. My first thought
was to call it a Fubarino bootloader but I wasn't sure if that would cause
confusion. If named after the Fubarino I was going to call it
FUBARINO_MINI_USB_74MHZ but I was thinking that it might be good to get the
chip P/N in the name as well as I might have to switch to the MX274 parts
if availability is low on this part.
Any opinions on what this should be called?
[image: image]
<https://user-images.githubusercontent.com/198251/150633163-efa1426e-469a-435c-9e38-0a814bfb1625.png>
—
Reply to this email directly, view it on GitHub
<#478 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABV3ZBGIIB2I3PGVZ5VNYLUXJ2UZANCNFSM5LLOYPCA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Co-founder
Fair Use Building and Research (FUBAR) Labs
http://fubarlabs.org
|
Beta Was this translation helpful? Give feedback.
-
I could be wrong, but I remember Microchip was going to look into
transferring the chipKIT trademark to 'us', but I never heard any more
about it. My guess is that it might be difficult to get much traction
inside Microchip on the transfer of the trademark. But I could be
remembering this all wrong.
*Brian
On Sat, Jan 22, 2022 at 11:00 AM Rick Anderson ***@***.***>
wrote:
… Do we have access to the chipKIT name?
If it's too descriptive it will scroll off the important part.
--Rick
On Sat, Jan 22, 2022 at 4:33 AM Jacob Christ ***@***.***>
wrote:
> @EmbeddedMan <https://github.com/EmbeddedMan> @ricklon
> <https://github.com/ricklon> @majenkotech <
https://github.com/majenkotech>
> So I got my new boards in and mounted some PIC32MX254F128DT-I/ML parts.
> I'm going to start working on a bootloader for them but I wasn't sure
what
> to call it. The boards are based on the Fubarino Mini 2.0. My first
thought
> was to call it a Fubarino bootloader but I wasn't sure if that would
cause
> confusion. If named after the Fubarino I was going to call it
> FUBARINO_MINI_USB_74MHZ but I was thinking that it might be good to get
the
> chip P/N in the name as well as I might have to switch to the MX274 parts
> if availability is low on this part.
>
> Any opinions on what this should be called?
>
> [image: image]
> <
https://user-images.githubusercontent.com/198251/150633163-efa1426e-469a-435c-9e38-0a814bfb1625.png
>
>
> —
> Reply to this email directly, view it on GitHub
> <
#478 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AABV3ZBGIIB2I3PGVZ5VNYLUXJ2UZANCNFSM5LLOYPCA
>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
>
> or Android
> <
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
>.
>
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
--
Co-founder
Fair Use Building and Research (FUBAR) Labs
http://fubarlabs.org
—
Reply to this email directly, view it on GitHub
<#478 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADN4CFGEUHOVUH7ZNTWGSLUXLPDLANCNFSM5LLOYPCA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Woot! After about 5 hours I got a PIC32MX254F128D bootloader to complier. I'm 99% sure it will not work as I have yet to go over the config registers and there still may be some linker file issue. |
Beta Was this translation helpful? Give feedback.
-
The code doesn't fit in the same space as the Fubrino Mini 2.0 and I'm going to chalk this up to not have full optimization. I had to bump kseg0_program_mem to make it fit. The chip has 12k boot space, so I'm assuming that this small bump will not cause any issues.
|
Beta Was this translation helpful? Give feedback.
-
Opps, these chips require 12MHz or 24MHz crystals for USB to work, but it's a whooping 480Mbps (nice). |
Beta Was this translation helpful? Give feedback.
-
das blinkenlichten |
Beta Was this translation helpful? Give feedback.
-
I think I have System Clock at 72MHz this morning, as the LED blink rate seems to match the Fubrino Mini 2.0 and is now longer blinken every minute. |
Beta Was this translation helpful? Give feedback.
-
I think I was mistaken. This chip only has USB 12Mbps (Full Speed). Is so easy to confuse Full Speed with High Speed (480 Mbps). I'm actually kind of revealed, I was worried about my USB traces not being controlled impedance and having to verify eyes since I don't have a DCA at my finger tips and the cheapest one on ebay is about $4500. |
Beta Was this translation helpful? Give feedback.
-
By the way, I've pushed my code changes on to a branch on my fork: https://github.com/JacobChrist/PIC32-avrdude-bootloader/tree/PIC32MX254F128D But there is no configuration in this project for this chip (yet). I think I jacked up the project and didn't want to push it. I want to revert and rebuild the configuration before pushing. All I did though was duplicate the FUBARINO_MINI_50MHz and make a FUBARINO_MINI_72MHz. |
Beta Was this translation helpful? Give feedback.
-
I opened a support ticket with Microchip on the issue. At the suggestion of the support engineer I ran a program called usb tree view. So I did so for both the Fubrino Mini 2.0 and the board I'm working on with the PIC32MX254F128D. There is no difference between the reported data to my PC other than a byte that increments every time a device is enumerated. (See attached files) PIC32MX254F128D-usb-tree-view.txt Also while addressing a question from support I realized that I didn't pull-up pin 41 (USBID) to +3.3V. I patch a board with this corrected but it didn't help either. |
Beta Was this translation helpful? Give feedback.
-
I just did another pass on the linker script, the only differences now are the config register addresses and an optional include for older (than v2.100) compliers. Still no beuno. |
Beta Was this translation helpful? Give feedback.
-
FYI I bought some of the 72MHz PIC32MX254F128DT-I/ML today to see how difficult it will be to get the bootloader to run on a Fubarino Mini PCB.
Jacob
Beta Was this translation helpful? Give feedback.
All reactions