/firefly...3ac2a3e0a869e4b1f9be42339efa93778959683berror: external/rockit/: discarding 46 commits removed from
2022-06-16 09:45
你好。我必须使用手动DMA模式。我在DMA回调函数中引用了示例源“Cyu3PDMACHANNEL DISCUBASH缓冲区”函数。USB工作很好。但是性能很低。我认为“CYU3PDMACHANNEL DISCARBASH”功能消耗太多。在DMA回调函数中删除“CYU3PDMACHANNEL DISCUBASH”函数。DMA回调函数只工作一次。我想在没有“CYU3PDMACHANNEL DISCUBASH”功能的情况下重用DMA缓冲区。请让我知道怎么做。当做。小腿。 以上来自于百度翻译 以下为原文Hi. I have to use MANUAL DMA mode. I referenced example source what "CyU3PDmaChannelDiscardBuffer " function in DMA callback function. USB working is good. but performance is very low. I think "CyU3PDmaChannelDiscardBuffer" function consume resources too much. I remove "CyU3PDmaChannelDiscardBuffer" function in DMA callback function. DMA callback function is worked just one time. I want to reuse DMA buffer without "CyU3PDmaChannelDiscardBuffer" function. Please Let me know how to do. Regards. Shin.
2019-04-11 12:59
partitions...mkfs.vfat 2.11 (12 Mar 2005)mke2fs 1.42.1 (17-Feb-2012)Discarding device blocks: done Filesystem
2018-06-04 10:05
records out0 bytes copied, 2.2429e-05 s, 0.0 kB/smke2fs 1.44.1 (24-Mar-2018)Discarding device blocks
2022-06-29 10:21
= 0xFFFFFFFF; TIM5->psc= 0; // Repeatedly count edges on TIM5.1 and TIM5.2, discarding the first 2 // edges
2022-12-14 08:25
您好,我用XC16芯片:DSPIC33 FJGP802。我正在使用一个在UART上使用MIDI的合成器。在一个波形被处理的时候,我做了一个需要禁用UART的函数,同时UART的数据也进来了。有时它在UART中断中挂起。UART中断,改变了它,所以它不会挂:只有这是不好的,其他问题出现。也许有人知道什么是错的?框架误差究竟是什么?有没有缺失数据的框架错误?提前感谢 以上来自于百度翻译 以下为原文 Hi, i am using this chip : DSPIC33FJGP802 with XC16. I am working on a synthesizer that uses MIDI on the UART.I made a function that need to disable the UART while a waveform is being processed, meanwhile UART data is incoming.Sometimes it hangs in the UART interrupt when doing this :_DAC1LIE = 0;_U1RXIE = 0;UARTEN = 0; BuildWaveform(); _OERR = 0;_U1RXIF = 0; _ENARTEN = 1;_U1RXIE = 1;_DAC1LIE = 1; Then i went to the UART interrupt and changed this so it wont hang :data = U1RXREG;if( !_FERR ){// handle data} // changed into this : if( !_FERR ){data = U1RXREG;// handle data} Only that is no good, other problems arise. Maybe someone has a clue on what can be wrong ?And what is a framing error exact ?, can there be a framing error without missing data ? thanks in advance
2018-11-20 15:41
你好,我想在PIC32 UART上发送一系列数据,它可以是正数(max 65535是16位),也可以是负数。如何在UART上发送这些数字?如果取2的补码,我必须使用32位,因为最大正数可以是65535。有没有PIC32函数,我可以用16位表示来发送正数和负数?问候,尼亚 以上来自于百度翻译 以下为原文 Hi, I want to send a series of data over PIC32 UART which can be either a positive number (max 65535 which is 16 bits) or a negative number. How to send these number over UART? If it take 2's complement I will have to use 32 bits since max positive number could be 65535. Is there any PIC32 function which I can use to send positive as well as negative numbers in 16-bit representation? Regards,Nia
2018-09-26 16:34
你好。 我注意到当使用BVLINK或MEMS软件与iPhone配对的设备时,BlueCoin使用大约40-45mA。这似乎很高。基于我过去用于类似用例的其他类似产品,我期待最大10-20mA。此外,如果iPhone应用程序中报告的动力电池电量是准确的(我怀疑自完全充电后它会另外报告97%和80%充电),那么当LiPo容量为20-30%时,设备似乎会关闭。即使设备没有“做任何事情” - 即仅仅与电话配对,该功率使用也是相同的。 因此,我有以下问题: 1)这听起来合理/正确吗? 2)是否可以关闭所有其他功能以节省电量? 3)我可以激活超低功耗待机模式吗?我如何唤醒设备? 4)我可以采取哪些其他节电措施? 5)充满电后,为什么电池电量在80%到97%之间切换? 目前我唯一的解决方案是每次要使用麦克风时都要严格关闭设备并重新启动。 具体来说,我的用例是按一个按钮记录一些语音,然后释放按钮停止记录。电池需要至少持续一周。我的空间要求允许LiPo高达500mAh。 我已经阅读了STEVAL-BCNKT01V1 - BlueCoin Starter kit - STMicroelectronics提供的文档,但它们还不够。任何与实际编程BlueCoin更相关的内容都会感激不尽,因为我对这种特殊类型的设备非常陌生(我直到现在才编写Arduinos)。 非常感谢,PartRobot#bvlink#battery-life #power #bluecoin以上来自于谷歌翻译以下为原文 Hi. I'm noticing that when using the BVLINK or MEMS software with the device paired with an iPhone the BlueCoin is using about 40-45mA. This seems a high. I'm expecting 10-20mA maximum based on other similar products I've used in the past for similar use cases. Additionally, if the power battery levels reported in the iPhone app are accurate (which I doubt since at full charge it reports alternately 97% and 80% charged), then the device appears to shutdown when the LiPo is at 20-30% capacity. This power usage is the same even if the device isn't 'doing anything' - i.e. is merely paired with the phone. Consequently I have the following questions: 1) Does this sound reasonable/correct? 2) Is it possible to shut down all other features to conserve power? 3) Is there an ultra-low power standby mode I can activate? How do I then wake the device? 4) What other power saving measures can I take? 5) Why does the battery level switch between 80% and 97% when fully charged? Currently my only solution is to hard shut down the device and start it up again every time I wish to use the microphones. Specifically my use case is to press a button to record some speech and the release the button to stop recording. The battery needs to last at least a week. My space requirements allow for a LiPo up to 500mAh. I have read the docs available at STEVAL-BCNKT01V1 - BlueCoin Starter kit - STMicroelectronics but they are insufficient. Anything more related to actually programming the BlueCoin would be gratefully received as I'm very new to this particular type of device (I've only programmed Arduinos until now). Many thanks, PartRobot #bvlink #battery-life #power #bluecoin
2018-10-11 16:52
您好。我把函数指针作为参数传递给函数时遇到了一些问题。问题基本上是在一些循环下,函数指针是空的。最后检查代码和注释(1):(1)这是关键。如果我不使用这个句子,“数据”指针总是空的。使用时,“数据”具有正确的函数地址。我猜想编译器正在做一些它的优化魔术,因为函数指针没有被使用,它简单地丢弃它,默认情况下,它对函数地址无效。我记得在论坛的某个地方读到过这件事,但是我失去了线索。如果我使用函数(指针一旦设置或直接调用原始函数)在任何地方(内部或外部的函数)地址是可以的,但如果我不使用它…问题。我尝试禁用优化,但结果是一样的,NULL。欢迎任何想法或建议。TY。以上来自于百度翻译 以下为原文 Hello.I'm having some problems with passing function pointers as parameter to function. The problem is basically under some circunstances the pointer to function is NULL. Check the code and note (1) at the end:// function signature, quite simpletypedef void (* function_p)(void); // just a simple function to check the functionvoid f1(void) // @ 0xAACC{ static int a = 0; a++;} // to manipulate the address (one of some tests)volatile union { function_p function; uint16_t addr;// I know they are so 16-bit address so, it's fine for the test} ufun;// gets a pointer to function (any) and simply fills the addr field in the union.// for the simplicity it uses the signature abovevoid function_addr (const void * data){ ufun.addr = data; if (ufun.addr) {//ufun.function(); // (1) }}void main(void){function_addr(f1);ufun.addr++;// just to messwhile(1);}(1) This is the key. If I don't use this sentence, "data" pointer is always NULL. When used, "data" has the correct function address. I guess the compiler is doing some of its optimizing magicand since the function pointer is not being used it simply discards it and by default asigns NULL to the function address. I remember reading something about this in some place in the forum but I lost the thread. If I use the function (the pointer once it's set or just calling the original function directly) in any place (internal or externally to the function) the address is ok, but if I don't use it... problem.I tried disabling optimizations but the result is the same, NULL.Any idea or suggestion is welcome. Ty.
2018-08-24 15:49
你好,我叫洛伦佐。这是我第一次在这里写,我是一个带照片的新手。我是一个使用PIC32 MZ2048 EFH144的项目的学生,我使用MPLAB X IDE V3.55和OrthyV1.06。我正在尝试制作SNTP,但是我面临一些问题:当我调用函数TcPIpSntppUutcSudisGET(无效)时,我希望得到UNIX时间,但我所得到的只是数字。EN 33和39(我想它们是从我开始调试的那一刻起的某种延迟)。我试图修改一些东西(代码是由另一个人用和声生成的SNTP。C),但它不起作用。我注意到TaTcCPipntpPiLeCH定义为2208988 800 UL,为01/01/2040.0,这是问题所在吗?我希望能很好地解释我的问题,谢谢你的答复。 以上来自于百度翻译 以下为原文 Hello, my name is Lorenzo. It is the first time I have written here and I am a newbie with PICs. I am a student working on a project with a PIC32MZ2048EFH144 and I am using MPLAB X IDE v3.55 and Harmony v1.06. I am trying to making work SNTP but I am facing with some problems: when I call the function TCPIP_SNTP_UTCSecondsGet(void), I would expect to get Unix time but all I get is numbers between 33 and 39 (and I suppose they are some sort of delay from the moment I started debugging).I tried to modify something (code was sntp.c generated by another person with Harmony) but it does not work. I noticed that TCPIP_NTP_EPOCH is defined like 2208988800ul which is 01/01/2040. Could this be the problem? I hope to have explained my problem well , thank you in advance for your replies.
2019-04-02 09:03